Skip to content

Commit

Permalink
[ 1.0.3 ] * Updated the Player section to be a basic media player; mo…
Browse files Browse the repository at this point in the history
…re features are planned, but I wanted to get something out there that was functional.

  * Added Sources section to allow media player source to be selected.
  * Added recently played list cache support, that caches recently played content to the local file system.  The cache list is preferred over the SoundTouch device list, since the device removes it's cover art image links quite frequently.  Max cache items is configurable in the SoundTouchPlus device options (per device).
  * Updated wiki documentation.
  • Loading branch information
thlucas1 committed May 20, 2024
1 parent 527493a commit 454af4b
Show file tree
Hide file tree
Showing 40 changed files with 3,153 additions and 750 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ Change are listed in reverse chronological order (newest to oldest).

<span class="changelog">

###### [ 1.0.3 ] - 2024/05/20

* Updated the Player section to be a basic media player; more features are planned, but I wanted to get something out there that was functional.
* Added Sources section to allow media player source to be selected.
* Added recently played list cache support, that caches recently played content to the local file system. The cache list is preferred over the SoundTouch device list, since the device removes it's cover art image links quite frequently. Max cache items is configurable in the SoundTouchPlus device options (per device).
* Updated wiki documentation.

###### [ 1.0.2 ] - 2024/05/12

* Updated `README.MD` HACS documentation file.

###### [ 1.0.1 ] - 2024/05/12

* Removed `console.log` messages that were being used for testing.
Expand Down
22 changes: 21 additions & 1 deletion SoundTouchPlusCard.njsproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{19dfee94-5cae-417c-ac13-38b165e4121e}</ProjectGuid>
<ProjectHome>.</ProjectHome>
<ProjectView>ShowAllFiles</ProjectView>
<ProjectView>ProjectFiles</ProjectView>
<StartupFile>dist\soundtouchplus-card.js</StartupFile>
<WorkingDirectory>.</WorkingDirectory>
<OutputPath>.</OutputPath>
Expand Down Expand Up @@ -34,6 +34,9 @@
<Content Include=".prettierrc.js" />
<Content Include=".vscode\launch.json" />
<Content Include="CHANGELOG.md" />
<Content Include="data\recently_played_cache_9070658C9D4A.xml">
<SubType>Code</SubType>
</Content>
<Content Include="developer_notes.txt">
<SubType>Code</SubType>
</Content>
Expand Down Expand Up @@ -76,6 +79,7 @@
<Folder Include=".vscode\" />
<Folder Include="dist" />
<Folder Include="images\" />
<Folder Include="data\" />
<Folder Include="src" />
<Folder Include="src\components" />
<Folder Include="src\editor" />
Expand All @@ -89,10 +93,23 @@
<ItemGroup>
<TypeScriptCompile Include="src\components\media-browser-icons.ts" />
<TypeScriptCompile Include="src\components\media-browser-list.ts" />
<TypeScriptCompile Include="src\components\player-controls.ts" />
<TypeScriptCompile Include="src\components\player-header.ts">
<SubType>Code</SubType>
</TypeScriptCompile>
<TypeScriptCompile Include="src\components\player-progress.ts" />
<TypeScriptCompile Include="src\components\player-volume.ts" />
<TypeScriptCompile Include="src\editor\source-browser-editor.ts" />
<TypeScriptCompile Include="src\editor\player-volume-editor.ts" />
<TypeScriptCompile Include="src\editor\player-editor.ts" />
<TypeScriptCompile Include="src\editor\player-controls-editor.ts" />
<TypeScriptCompile Include="src\editor\player-header-editor.ts" />
<TypeScriptCompile Include="src\editor\pandora-browser-editor.ts" />
<TypeScriptCompile Include="src\editor\recent-browser-editor.ts" />
<TypeScriptCompile Include="src\sections\source-browser.ts" />
<TypeScriptCompile Include="src\sections\pandora-browser.ts" />
<TypeScriptCompile Include="src\sections\recent-browser.ts" />
<TypeScriptCompile Include="src\services\media-control-service.ts" />
<TypeScriptCompile Include="src\services\soundtouchplus-service.ts" />
<TypeScriptCompile Include="src\types\cardconfig.ts">
<SubType>Code</SubType>
Expand All @@ -102,6 +119,9 @@
</TypeScriptCompile>
<TypeScriptCompile Include="src\types\hassentityattributes-mediaplayer.ts" />
<TypeScriptCompile Include="src\types\hassentity-soundtouchplus.ts" />
<TypeScriptCompile Include="src\types\mediaplayer-entityfeature.ts">
<SubType>Code</SubType>
</TypeScriptCompile>
<TypeScriptCompile Include="src\types\soundtouchplus\navigateresponse.ts" />
<TypeScriptCompile Include="src\types\soundtouchplus\navigateitem.ts">
<SubType>Code</SubType>
Expand Down
33 changes: 33 additions & 0 deletions data/recently_played_cache_9070658C9D4A.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version='1.0' encoding='utf-8'?>
<recents>
<recent deviceID="9070658C9D4A" id="1716074611" utcTime="1716074611">
<contentItem source="SPOTIFY" type="uri" location="spotify:track:0wWDNsLRUuXFGRd4NcrdrR" sourceAccount="31l77ydfsklje87rewfjkhewr87" isPresetable="true">
<itemName>Write Your Story</itemName>
<containerArt>https://i.scdn.co/image/ab67616d0000b273e3766f8c2f988da274a3b104</containerArt>
</contentItem>
</recent>
<recent deviceID="9070658C9D4A" id="1716074355" utcTime="1716074355">
<contentItem source="SPOTIFY" type="uri" location="spotify:track:3z2Fn7lXuXKsw7HtTGr5M8" sourceAccount="31l77ydfsklje87rewfjkhewr87" isPresetable="true">
<itemName>King of My Heart</itemName>
<containerArt>https://i.scdn.co/image/ab67616d0000b27345e47016d5d5aa45198e7a89</containerArt>
</contentItem>
</recent>
<recent deviceID="9070658C9D4A" id="1716074318" utcTime="1716074318">
<contentItem source="SPOTIFY" type="uri" location="spotify:track:7FO6QgfJRKtEwZiYO0dIO9" sourceAccount="31l77ydfsklje87rewfjkhewr87" isPresetable="true">
<itemName>Speak Life</itemName>
<containerArt>https://i.scdn.co/image/ab67616d0000b27365829d58a159958643aa33c0</containerArt>
</contentItem>
</recent>
<recent deviceID="9070658C9D4A" id="1716074310" utcTime="1716074310">
<contentItem source="SPOTIFY" type="uri" location="spotify:track:6UMtVYclu7bfEmGUJNQoqi" sourceAccount="31l77ydfsklje87rewfjkhewr87" isPresetable="true">
<itemName>Royal Blood</itemName>
<containerArt>https://i.scdn.co/image/ab67616d0000b2738ce608af9fc8281be7f494d2</containerArt>
</contentItem>
</recent>
<recent deviceID="9070658C9D4A" id="1716074304" utcTime="1716074304">
<contentItem source="SPOTIFY" type="uri" location="spotify:track:6mfNbKV7C3grE2lF0oBZt1" sourceAccount="31l77ydfsklje87rewfjkhewr87" isPresetable="true">
<itemName>One Of These Days</itemName>
<containerArt>https://i.scdn.co/image/ab67616d0000b27327f15cd881e33e8c23b0bc5e</containerArt>
</contentItem>
</recent>
</recents>
Loading

0 comments on commit 454af4b

Please sign in to comment.