ServerTooOldException

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

ServerTooOldException

Postby NiffStipples » Mon Jan 21, 2013 1:37 am

Hey guys,

i'm getting a weird exception when i try to add songs to an existing playlist - the app always gives me an "ServerTooOldException" Exception.

I'm on the latest MusicCabinet release and also at the latest dsub version - so i've got no clue where the issue could be :/

Maybe someone has a good advice for me? Thanks in advance! ;)
NiffStipples
 
Posts: 4
Joined: Tue Dec 11, 2012 10:35 pm

Re: ServerTooOldException

Postby daneren2005 » Mon Jan 21, 2013 2:53 am

That probably means that the server is not sending the correct server version. I check the REST API version to make sure that it will work. They might not have either added the API or maybe just didn't change the version number.

Sent from my HTC One X using Tapatalk 2
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: ServerTooOldException

Postby hakko » Mon Jan 21, 2013 6:08 am

How do you check the version, just using what is returned in getLicense? What is mandatory from 1.8.0?
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: ServerTooOldException

Postby daneren2005 » Mon Jan 21, 2013 5:14 pm

It looks like the code just caches the version from a previous response. It looks like the version is sent in every response (I'm not too sure, I am just using the original code for that)? And yah according to http://www.subsonic.org/pages/api.jsp#updatePlaylist it is mandatory 1.8.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: ServerTooOldException

Postby NiffStipples » Tue Jan 22, 2013 10:01 am

Wow, both devs at my thread :D

So, can i change anything on my configuration to get it working or is the fault somewhere else?
NiffStipples
 
Posts: 4
Joined: Tue Dec 11, 2012 10:35 pm

Re: ServerTooOldException

Postby hakko » Tue Jan 22, 2013 11:06 am

Nah, you're out of luck until I make MusicCabinet completely compatible with Subsonic 4.7 (right now it is somewhere between 4.6 and 4.7). Sorry about that.

(Or add it yourself! it's open source)
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: ServerTooOldException

Postby NiffStipples » Tue Jan 22, 2013 2:10 pm

Uh, i would if i could - but i think i'll better keep waiting for your update ;)

Thanks a lot! :)
NiffStipples
 
Posts: 4
Joined: Tue Dec 11, 2012 10:35 pm


Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 53 guests