Bug 14405 - Sending a query for Playlist Title returns no response
: Sending a query for Playlist Title returns no response
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 7.4.0
: PC Windows XP
: P2 normal (vote)
: 7.5.x
Assigned To: Michael Herger
: test_automation
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-29 12:01 UTC by Steve McNally
Modified: 2011-01-13 02:43 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve McNally 2009-09-29 12:01:27 UTC
Example:
Sending the string
"04:20:00:12:23:45 playlist name ?<LF>" 

will result in a response being sent but without the playlist name.  The response looks like this 
"04:20:00:12:23:45 playlist name<LF>"
Comment 1 Steve McNally 2009-09-29 12:18:42 UTC
Also noticed that playlist title ? is not working as it did before with the music services.  It used to give the station name, but now gives the song title.

Example:
Listening to the song "Flying High" on Rhapsody Station "Acoustic Dawn" and sending the string
"04:20:00:12:23:45 playlist title ?<LF>" 
returns 
"04:20:00:12:23:45 playlist title Flying%20High<LF>"
Instead of 
"04:20:00:12:23:45 playlist title Acoustic%20Dawn<LF>"

It does, however, work properly when listening to a playlist from the local library.
Comment 2 Michael Herger 2009-12-16 02:33:16 UTC
IMHO the "playlist name ?" query only returns the name for locally stored playlists. ("The "playlist name" command returns the name of the saved playlist last loaded into the Now Playing playlist, if any.")

According to the docs "playlist title X ?" is there to return the track's title. ("The ... "playlist title", ... queries return the requested information for a given song at an index position in the current playlist."). The change in behaviour imho is correct.

Returning remote playlist's names or the station name in case of an internet radio station sounds like a reasonable enhancement.
Comment 3 Steve McNally 2009-12-16 02:33:25 UTC
I will be out of the office until the December 28th.  If you need any assistance until then call the office at 440-449-1100, select '1' for "Module Support" or '2' for "Residential Programming", and someone should be able to help you out with whatever you need.

Happy Holidays,
-Steve McNally
Comment 4 Steve McNally 2009-12-16 07:34:53 UTC
LOL!  I didn't know my out of office reply would auto post here!

Michael, would this be considered an enhancement?  It retrieved the station name in the previous revisions.  In fact, when I first implemented this in my module I spoke with Andy and asked him how to retrieve station names and this is how he told me to do it.

-Steve
Comment 5 Michael Herger 2009-12-16 08:03:31 UTC
Ok, I'll see what happened to it.
Comment 6 Steve McNally 2009-12-16 08:07:11 UTC
Thank you, Michael.  I'm not sure if this was the last version it was working on or not, but I'm running 7.3.3 - 27044 at home and it works with that version.

-Steve
Comment 7 SVN Bot 2009-12-16 08:26:30 UTC
 == Auto-comment from SVN commit #29629 to the slim repo by michael ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29629 ==

Fixed Bug: 14405
Description: return remote station's name in playlist name query
Comment 8 Steve McNally 2009-12-16 09:00:30 UTC
Thanks a bunch!
Comment 9 Andy Grundman 2010-02-19 11:41:32 UTC
Fixing target, this was not fixed in 7.4.
Comment 10 Chris Owens 2010-04-08 17:26:24 UTC
This bug has been marked fixed in a released version of Squeezebox Server or the accompanying firmware or mysqueezebox.com release.

If you are still seeing this issue, please let us know!
Comment 11 Steve McNally 2010-04-12 09:19:23 UTC
Hi Chris,
This is still doing what I explained in my 2nd comment here.  It is reporting the song title instead of the station name.  This worked properly in 7.3.3 - 27044 and releases before it.
Comment 12 Steve McNally 2010-07-30 11:12:01 UTC
Hey guys,
This still isn't fixed.  When queried it will return the station/playlist name and then immediately send another response with the song title in the playlist title response.  I get calls literally weekly about this from people that bought our control module so I'd appreciate it a bunch if you could look into it again.

Thanks,
-Steve
Comment 13 Michael Herger 2011-01-13 02:43:03 UTC
Steve - I'd say this is expected behaviour according to the docs:

'The "playlist genre", "playlist artist", "playlist album", "playlist title", "playlist path", "playlist remote" and "playlist duration" queries return the requested information for a given song at an index position in the current playlist. "playlist remote" returns 1 if the "song" is a remote stream.'

Previously most radios didn't provide title information, thus the station name was returned. These queries don't work on some named/stored playlist, but rather the "Now Playing Playlist", or queue, or current playlist. This might be misleading, but imho this is working as designed.

Feel free to file an enhancement request. But I'm actually not even sure whether we retain the station name information.