Page 1 of 2
Bug report - can't star a track
Posted:
Tue Mar 12, 2013 12:59 pm
by flvinny521
Starring any track, whether cached or currently downloading from the server, returns a "ServerTooOldException" error message and it does not get scrobbled to last.fm as a starred track.
I would also love the ability to star a track from the widget and/or notification controls.
Re: Bug report - can't star a track
Posted:
Tue Mar 12, 2013 2:22 pm
by bushman4
What server version are you running? It sounds like you are running an older version of Subsonic, or Music Cabinet (which uses an old version of the REST API that does not support star-ing tracks).
GLenn
Re: Bug report - can't star a track
Posted:
Tue Mar 12, 2013 2:29 pm
by flvinny521
I am using MusicCabinet 0.7.22.
I am able to star tracks from within the MusicCabinet web UI.
Edit:
- Code: Select all
Subsonic, originally written by Sindre Mehus. Built with MusicCabinet plugin, version 0.7.22, on February 13, 2013.
- Code: Select all
jetty/8.y.z-SNAPSHOT, java 1.7.0_17, Windows 7 (92.5 MB / 145.0 MB)
Re: Bug report - can't star a track
Posted:
Tue Mar 12, 2013 2:29 pm
by mr_nobody
Re: Bug report - can't star a track
Posted:
Tue Mar 12, 2013 2:34 pm
by bushman4
flvinny521 wrote:I am able to star tracks from within the MusicCabinet web UI.
The WebUI does not use the REST API, which is the remote application programming interface. The REST API of Music Cabinet is not running at subsonic version 4.7 like the rest of the app is.
Glenn
Re: Bug report - can't star a track
Posted:
Tue Mar 12, 2013 2:38 pm
by flvinny521
Thank you for the push in the right direction!
Re: Bug report - can't star a track
Posted:
Tue Mar 12, 2013 9:14 pm
by hakko
Starring via REST API is actually supported in MusicCabinet (and would automatically "love" the track on last.fm), even though the server reports itself as version 4.6. I wish it was possible to report versions a bit more fine-grained. Maybe I have to start reporting it as version 4.7 and throw exceptions on the methods that aren't implemented.
Re: Bug report - can't star a track
Posted:
Tue Mar 12, 2013 9:20 pm
by hakko
I also somehow need to be more clear about what MusicCabinet is and what it's not. Originally, I started working with the Subsonic 4.6 code base which was the latest stable release at that point in time. Then I threw out the whole media handling because it was super inefficiently written and wrote my own library to handle it. Then I incorporated some changes that I liked from Subsonic 4.7 (or actually only the new starring system, I think. but only the icons, I had to write the code myself again). I'd guess that around 50% of the code from Subsonic 4.6 is left and the rest is written by me. I'm striving to get that percentage even further down.
I do strive to be compatible with the 4.7 release though, so sooner or later I'll add the missing methods and start reporting myself as 4.7 even though the code base behind it is completely different.
Re: Bug report - can't star a track
Posted:
Tue Mar 12, 2013 9:37 pm
by daneren2005
Yah there just isn't really a good way for the client to tell what is going to be available on the server without using the version. Honestly, I think the tipping point will be adding support for the update playlist command. That seems to be 99% of what I get asked by, so after you added that you could relatively safely start reporting as a 4.7 server.
Re: Bug report - can't star a track
Posted:
Tue Mar 12, 2013 9:50 pm
by hakko
We're getting off-topic here but in this method:
http://www.subsonic.org/pages/api.jsp#updatePlaylistdo you assume that playlistId is an integer, or could it be the full path of a playlist?
Re: Bug report - can't star a track
Posted:
Tue Mar 12, 2013 9:58 pm
by daneren2005
The playlist ID is literally whatever string is passed into
http://subsonic.svn.sourceforge.net/vie ... iew=markup. My app treats it as a String, though I'm not sure if others such as iSub do as well. So in my case you can make the id whatever the hell you want, as long as the id's match up in both places.
Re: Bug report - can't star a track
Posted:
Tue Mar 12, 2013 10:11 pm
by hakko
Thanks!
Re: Bug report - can't star a track
Posted:
Wed Mar 13, 2013 3:03 am
by flvinny521
Is this the same reason that the newest Clementine release (1.1.1-433-g3e01d32) does not seem to work with MusicCabinet?
Clipboard-1.jpg
Re: Bug report - can't star a track
Posted:
Wed Mar 13, 2013 7:08 am
by hakko
I haven't looked into the requirements of Clementine, but that sounds very likely.
Re: Bug report - can't star a track
Posted:
Wed Apr 03, 2013 6:59 pm
by obcd
About Clementine, I have tested the latest version of Musiccabinet (that uses the same REST api as subsonic4.7). Clementine connects to Musiccabinet (the id/password work), but when it comes to updating the library it does nothing.