<feed xmlns='http://www.w3.org/2005/Atom'>
<title>WRMS/player.go, branch main</title>
<subtitle>Wireless Remote Media System</subtitle>
<link rel='alternate' type='text/html' href='https://git.muhq.space/WRMS/'/>
<entry>
<title>add error reporting when signalling mpv failed</title>
<updated>2023-07-31T16:24:35+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-07-31T16:24:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/WRMS/commit/?id=c3cb86d4646dd0fe33dcede14c4682156e4dfa07'/>
<id>c3cb86d4646dd0fe33dcede14c4682156e4dfa07</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bumble up a possible error creating the upload directory</title>
<updated>2023-07-31T16:17:44+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-07-31T16:17:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/WRMS/commit/?id=157867933ff77037555983eb9c085e8e9471a348'/>
<id>157867933ff77037555983eb9c085e8e9471a348</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>implement initial loading of spotify playlists</title>
<updated>2023-07-31T08:23:22+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-07-31T08:23:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/WRMS/commit/?id=78dc143e4585a3ab5a4d173f50571b4842a4e347'/>
<id>78dc143e4585a3ab5a4d173f50571b4842a4e347</id>
<content type='text'>
Playlist can now be added to the initial play queue with the
-playlists command line flag or the playlists yaml key in the
config file.
To load a spotify playlist the link obtained when sharing the playlist
from spotify is used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Playlist can now be added to the initial play queue with the
-playlists command line flag or the playlists yaml key in the
config file.
To load a spotify playlist the link obtained when sharing the playlist
from spotify is used.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix applyTimeBonus by always using Song pointers</title>
<updated>2023-07-22T13:15:47+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-07-22T13:15:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/WRMS/commit/?id=26f0033ebb5f8e7c204a042709e3dfa885eac868'/>
<id>26f0033ebb5f8e7c204a042709e3dfa885eac868</id>
<content type='text'>
Storing song objects in the Songs slice and using pointers to the
underlying array slots breaks if the underlying array must be grown.
When the array is grown the objects are copied to the new array and
the pointers used in queue point to the old objects.
This causes that Playlist.applyTimeBonus may not correctly apply
to the most recent list of songs.

This is fixed by always using Song pointers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Storing song objects in the Songs slice and using pointers to the
underlying array slots breaks if the underlying array must be grown.
When the array is grown the objects are copied to the new array and
the pointers used in queue point to the old objects.
This causes that Playlist.applyTimeBonus may not correctly apply
to the most recent list of songs.

This is fixed by always using Song pointers.
</pre>
</div>
</content>
</entry>
<entry>
<title>add more song info and preparations for advanced search</title>
<updated>2023-07-16T12:17:17+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-07-16T11:30:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/WRMS/commit/?id=a9b6aa1652166eb7f871735ba6833e2bdb888e50'/>
<id>a9b6aa1652166eb7f871735ba6833e2bdb888e50</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>introduce Player interface to allow multiple player implementations</title>
<updated>2023-07-01T16:53:37+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-07-01T16:53:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/WRMS/commit/?id=ed9682c977fb0cc5d94f4ac653e3fbb514bd8ecc'/>
<id>ed9682c977fb0cc5d94f4ac653e3fbb514bd8ecc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix double _next call and move mpv termination to Next</title>
<updated>2023-06-30T16:09:47+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-06-30T16:08:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/WRMS/commit/?id=6c81e0dcaf5905c6fac3fe4b62dffaf67027d785'/>
<id>6c81e0dcaf5905c6fac3fe4b62dffaf67027d785</id>
<content type='text'>
Due to an logic error was _next() a second time from runMpv after
the mpv subprocess was terminated by the first Next() call.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to an logic error was _next() a second time from runMpv after
the mpv subprocess was terminated by the first Next() call.
</pre>
</div>
</content>
</entry>
<entry>
<title>add debug message when terminating mpv subprocess</title>
<updated>2023-06-30T16:09:46+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-06-30T16:07:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/WRMS/commit/?id=133494f37ae2f07d992bbb63b134aac4875c80c6'/>
<id>133494f37ae2f07d992bbb63b134aac4875c80c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remember the current song before waiting for mpv</title>
<updated>2023-06-30T16:09:46+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-06-30T16:06:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/WRMS/commit/?id=6173e6227f4af0ce43baab074070a2d5df2c8a98'/>
<id>6173e6227f4af0ce43baab074070a2d5df2c8a98</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>serialize player state change though a channel</title>
<updated>2023-06-30T16:09:46+00:00</updated>
<author>
<name>Florian Fischer</name>
<email>florian.fischer@muhq.space</email>
</author>
<published>2023-06-30T14:53:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.muhq.space/WRMS/commit/?id=49b0b8d27c2a37e4869857542b4750fc61771d95'/>
<id>49b0b8d27c2a37e4869857542b4750fc61771d95</id>
<content type='text'>
Only the player.serveCmds and the runMpv goroutines are racing now.
But this race should be a benign race.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only the player.serveCmds and the runMpv goroutines are racing now.
But this race should be a benign race.
</pre>
</div>
</content>
</entry>
</feed>
