Bug 7122 - Favorites will not save to SN, using Jive
: Favorites will not save to SN, using Jive
Status: CLOSED FIXED
Product: MySqueezebox.com
Classification: Unclassified
Component: Favorites
: unspecified
: All All
: -- normal (vote)
: 7.0
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-13 10:31 UTC by James Richardson
Modified: 2009-09-08 09:15 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Richardson 2008-02-13 10:31:25 UTC
Using the Jive to add favorites when connected to SN will not save.

Steps to Reproduce
1.	Connect a Jive & Ray to beta.SqueezeNetwork.com
2.	Using the Jive, attempt to add something to your Favorites
a.	click on Internet Radio
b.	click on Radio IO
c.	click on any channel
d.	click on Add to Favorites
e.	click on Add
Note: The JIVE UI will now show Delete Favorite where ADD was before.  So, it looks like the favorites were added properly
If you jump back to the HOME menu, then scroll to Favorites, you will notice the UI show EMPTY, not the tracks you have added.
ALSO, if you go to the SN Web UI, no favorites have been added to the Favorites Screen.
Comment 1 James Richardson 2008-02-13 10:32:03 UTC
This bug MAY be related to bug 7118 as well, but I'm not sure
Comment 2 James Richardson 2008-02-13 13:42:20 UTC
Saving Favorites using the SN WEB UI works now, there was a code push to SN this after noon that fixed that.

However, using the JIVE to save still does not work.

They show as saved on the Jive (not in the favorites folder, but in the stream description) but do not show up on the SN WEB UI or in the Favorites folder on the Jive.

Comment 3 Blackketter Dean 2008-02-13 13:46:37 UTC
James, if this works with SC, then lets' move the bug to the SN product.
Comment 4 James Richardson 2008-02-13 13:53:08 UTC
This is a SN only bug, as this works with SC 7.0 -17491
Comment 5 Blackketter Dean 2008-02-13 17:12:28 UTC
Andy: is this yours?
Comment 6 Andy Grundman 2008-02-13 17:17:15 UTC
Probably a bug in the SC favorites code, but I will look at it since SN does favorites a bit differently.
Comment 7 Andy Grundman 2008-02-15 08:09:49 UTC
This is more complex than I first thought, the problem is all of the SC favorites code assumes the favorites are stored in an OPML file, but on SN they are stored in the database.  There's an abstraction layer Slim::Utils::Favorites but it's not being used for everything, and there are additional features the abstracted API doesn't have such as 'rename', 'move', and 'addlevel'.  I'm not even sure these are used, Ben?

All the SN class supports are basically add and delete.
Comment 8 Ben Klaas 2008-02-15 08:12:33 UTC
Jive right now only uses 'add' and 'delete' for favorites support.

I'm not going to be much help in understanding the nature of the Slim::Utils::Favorites abstraction layer. I don't understand how the pieces fit together, and since there is such a strong opinion that it needs to be completely re-organized post 7.0, I haven't spent any time trying to figure out how it works.
Comment 9 Andy Grundman 2008-02-15 08:18:40 UTC
OK, I'm only going to have SN support add and delete then.  Do you know why move, rename, and addlevel are there?
Comment 10 Ben Klaas 2008-02-15 08:19:54 UTC
sorry, beyond the scope of my favorites knowledge. cc:ing Michael, who may know
Comment 11 Andy Grundman 2008-02-15 08:33:46 UTC
Fixed in SC change 17577 and SN r17583.
Comment 12 James Richardson 2008-02-19 11:56:21 UTC
Verified fixed in SqueezeNetwork r2623/r17641