Bug 2569 - pressing and holding FAVORITES as described in the manual does not work as described
: pressing and holding FAVORITES as described in the manual does not work as de...
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Plugin
: 6.2.1
: All Other
: P2 critical with 1 vote (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-15 14:44 UTC by Kevin Pearsall
Modified: 2008-09-15 14:39 UTC (History)
4 users (show)

See Also:
Category: ---


Attachments
the story so far (2.86 KB, patch)
2006-03-08 00:02 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Pearsall 2005-11-15 14:44:34 UTC
Manual says:
Comment 1 Kevin Pearsall 2005-11-15 14:46:00 UTC
What the...pasting from the PDF screwed up all the text I wrote.

The manual says: Press FAVORITES to jump to the list of favorite items you've saved.  Press and hold FAVORITES while displaying a song, radio station or playlist name to add it to your favorites list.

Pressing and holding favorites only seems to take you to the favorites menu, not add anything...
Comment 2 KDF 2005-11-15 15:32:08 UTC
not bad.  feature documented before implemented.  some people should be very pleased ;)

not only is there no mapping for this function, but there seems to be no mention of the function.  was this accidentally missed in a commit somewhere, or does it need to be created?
Comment 3 Blackketter Dean 2005-11-15 15:35:57 UTC
I wrote that thinking that it'd get implemented in time.  It didn't, and I forgot.  So, yes it needs to be.  :)
Comment 4 KDF 2006-03-07 09:07:53 UTC
*** Bug 3120 has been marked as a duplicate of this bug. ***
Comment 5 Kevin Pearsall 2006-03-07 16:13:06 UTC
I keep getting more requests for this via support@slimdevices.com...
Comment 6 KDF 2006-03-08 00:02:26 UTC
Created attachment 1158 [details]
the story so far

a partial patch showing progress.  This works on any mode that is properly using INPUT.* and when the object in question is a track or remoteURL.  I don't yet know what would be a good way to handle the selection of an album for example, which has no "url" associated with it.  Maybe an object type & id, with the comparable play functions.  not sure yet.
Comment 7 Kevin Pearsall 2006-04-05 11:24:53 UTC
getting more complaints about this.  we promised a feature and didn't deliver.  bad news...
Comment 8 KDF 2006-04-05 12:11:40 UTC
I can have my previous patch in 6.5 by tomorrow if you like, for broader testing.
Comment 9 KDF 2006-04-05 21:01:24 UTC
initial attempt commmitted to trunk at change 6830 for april 6 build of 6.5.  Not sure how easy this will be to oprt into 6.2.2 since this current patch relies on INPUT.List being used.
Comment 10 Dan Sully 2006-04-21 18:13:04 UTC
I've merged this patch back to 6.2.2.

Chris - can you verify?

Thanks.
Comment 11 Blackketter Dean 2006-04-22 07:54:34 UTC
Subject: Re:  pressing and holding FAVORITES as described in the manual does not work as described

Chris: I'd like to either keep this bug open or open a new one for  
the additional ability to use the favorites button to save an artist,  
album, genre or playlist as a favorite for 6.5.


Comment 12 Chris Owens 2006-04-24 13:46:55 UTC
Sadly, pressing and holding 'favorites' on a clean installation of today's 6.2.2 build crashes slimserver.  I verified this on two different VMs.
Comment 13 KDF 2006-04-24 13:59:39 UTC
crash was when in a mode that isn't INPUT.List, or selected an album/artist/genre right?  I'm actually not surprised.  The fix was ONLY valid for file urls (tracks or radio stations) when using INPUT.List.

need some simple way to store album/artist/genre by id, maybe like so:
artist:<id>
album:<id>
genre:<id>
playlist:<id>

long term solution needs to have these as valid urls, but shortterm it might be not too hard to just grab object type and id when writing, and reverse that for play.  would also allow the use of 'playlist addtracks' for playing a large playlist, and should speed things up for another bug I won't look up right now.
Comment 14 Chris Owens 2006-04-24 14:02:13 UTC
Marked as 'reopened'.  It actually crashes my 6.2.2 installs when I hold down favorites.

The event viewer message is: Can't use an undefined value as an ARRAY reference at /PerlApp/Slim/Buttons/Common.pm line 414.
Comment 15 KDF 2006-04-24 15:10:33 UTC
that crash matches up with the lack of INPUT.List (or rather, specifically $client->param('listRef')).  Best to do a sanity check at least for $client->param('listRef') before going any further. 
Comment 16 Blackketter Dean 2006-04-24 15:25:08 UTC
Subject: Re:  pressing and holding FAVORITES as described in the manual does not work as described

Yeah, I'm working on fixing this.  There's at least one other place  
that crashes.  Will have a patch shortly.


Comment 17 Blackketter Dean 2006-04-24 16:40:58 UTC
fixed crasher for the next 6.2.2 build.  
Comment 18 Gilord 2006-04-30 09:48:23 UTC
I'm sorry but Favorites still don't work anymore whith SlimServer Version: 6.2.2 - 7135 (official) at home.
And no more whith SlimServer Version: 6.2.2 - 7209 (called 6.3.0 on download)

It's normal ?
Comment 19 Kevin Pearsall 2006-05-17 09:52:15 UTC
verified this functionality does not work with 6.2.2-release.
Comment 20 Kevin Pearsall 2006-05-17 09:53:05 UTC
Actually it works in some places.  But it does not work when you're on the now playing screen.

Need more specific documentation of this functionality.
Comment 21 Kevin Pearsall 2006-05-17 09:56:13 UTC
Seems to only work if you're in browse and on a song, not on an album.  Also works in browse playlists on a playlist name.  But you can't add an album, an artist, a genre, or an internet radio stream as a favorite using the favorites button as far as I can tell.
Comment 22 KDF 2006-05-17 09:59:31 UTC
That is correct.  albums/artists etc, don't have a url to store (see comment #6 and #13).  Also, what I know of the patch depended on INPUT.List being used (since other lists have only a local index var that isn't passed)
Comment 23 Blackketter Dean 2006-06-06 16:13:18 UTC
Sorry, this is going to need the new DB in 6.5
Comment 24 Dan Sully 2006-07-23 17:10:02 UTC
What's the status on this?

kdf - is your patch still valid? Does it need to be updated?

Thanks
Comment 25 KDF 2006-07-23 18:16:47 UTC
My only patch was for INPUT.List, which was committed back at change 6830.  The status now is that any more not using INPUT.List won't work.  Not that many left in that category.  Browsedb lists won't work either becuase an album/artist/genre isn't a url.  Tracks will work.  We'd have to come up with a url format for albums/years/genres/artists, etc. One idea, I described above but am still waiting on feedback or a better suggestion.
Comment 26 Dan Sully 2006-07-25 16:57:26 UTC
Fixed in change 8665.

SlimServer now supports storing Albums, Artists, Genres, Playlists, Tracks & Years as Favorites.