I spent today running some detailed tests with FooBar 2000:

> > Does this mean that you overcame the problems mentioned in your
> previous post?
> No.

It works rock solid for me. So when you do find one of your FLAC files
that do not work, please send it to me for testing. Please also send me
a full description of your set up.

> Shouldn't STOP stop playing, but position the track at the start of the
> track, such that play would replay from the beginning?
> At the moment, if I STOP, I can't press play to restart playback.  I
> have to play from SBS WebUI (or the player).

I will include a fix for this this in the next release. (But it is
partly related to the next topic mentioned below).

> Also if I am playing something and I hit PLAY, this seems to stop
> playback, and I can't resume (should ignore PLAY if already playing).

Actually, it is much more complicated than this. The problem is that
there are actually two playlists being used, one is the Squeezeplayer's
playlist, and the other is Foobar's playlist.

When you queue some tracks using the Squeeze UI, all the tracks are
added to the Squeezeplayer's playlist. But when you queue up some
tracks using Foobar, all the tracks are added to Foobar's local
playlist. And then Foobar sequentially tells Squeezeplayer to play each
single track from the Foobar local playlist one-by-one. (So when Foobar
is running the show, the Squeezeplayer playlist only gets one track at
a time fed to it from Foobar's playlist).

Obviously problems occur when Foobar's local playlist and
Squeezeplayer's playlist contain different things. (Say you added some
tracks to Foobar's list via the Foobar UI, and/or you then added some
different tracks to the Squeezeplayer's list via the Squeeze UI).  E.G.
the "PLAY followed by PLAY" problem arises if Foobar's playlist is
empty: the first command stops, the current track playing, and the
second PLAY tries to load the "current track" in Foobar's playlist into
the Squeezeplayer's list; but since Foobar's playlist is empty, there is
no "current track", which means nothing is loaded into the
Squeezeplayer; so nothing gets played...

This problem of synchronization between Foobar's playlist and
Squeezeplayer's playlist could actually be solved. But it requires the
Foobar developers to make an adaption on their side. At the minimum,
they must poll the UPnP GetPositionInfo action to read back the real
CurrentTrackMetaData value, instead of assuming that the meta data
taken from their own playlist is correct. (And possibly in addition
they should also poll the UPnP GetMediaInfo action to read
AVTransportURIMetaData to show contents of the Squeezeplayer's
playlist. And/or they can subscribe to LastChange to get the
AVTransportURIMetaData. Then Foobar can compare the two playlists meta
data for possible conflicts).

> Previous and Next don't do anything for me, other than stop music
> playback. It is not possible to play anything.

Actually, they DO work. But the PREV and NEXT commands refer to the
respective items in Foobar's playlist (and so nothing is played if that
list is empty).

> I don't know much about UPnP, but as Foobar2000 "UPnP Controller" window
> has a button labelled as "Show Controller Playlist", I assumed it was
> possible?

Actually, this button DOES work. It shows Foobar's local playlist. It
does not show the Squeezeplayer's play list. So if the Squeezeplayer's
play list had been loaded via the Squeeze UI, and Foobar's local
playlist was empty, you would get the impression that the button did
not work...

> A minor observation - if music is not playing and in Foobar2000 the
> playback position bar is clicked on, Whitebear sends an invalid
> command:

Thanks for this feedback. I will add bounds checking to the next
release.


-- 
AndrewFG

Regards,
AndrewFG

Try out Whitebear. The middleware that joins the two worlds of:

1. UPnP/DLNA media clients and media players, and,
2. Squeezebox Server and Squeeze Players

Download it for free here: http://www.whitebear.ch/mediaserver
------------------------------------------------------------------------
AndrewFG's Profile: http://forums.slimdevices.com/member.php?userid=15838
View this thread: http://forums.slimdevices.com/showthread.php?t=82399

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to