Invalid licence response

Artist radio, genre radio & related artists. A Subsonic server for music nerds.

Moderator: moderators

Invalid licence response

Postby obcd » Tue Jan 08, 2013 1:35 am

obcd wrote:Hi,

I have been using different versions of subsonic andoid apps for the last few months. I was bothered with the ads. I have compiled dsub, but even with it I get some popups when I try for instance to play a playlist ("play now"). It says that the time frame for unlimited downloads is over and that I should donate to get unlimited downloads back. I am using musiccabinet on the other side.

Is this behavior normal? What should I do to remove that popup that blocks me from playing some stuff.


daneren2005 wrote:Usually that means that for whatever reason you are getting a invalid license response from the server. Why you are getting it I don't know.


Is it normal to get that with Musiccabinet?
obcd
 
Posts: 40
Joined: Mon Nov 19, 2012 2:42 pm

Re: Invalid licence response

Postby hakko » Tue Jan 08, 2013 6:02 am

I haven't actually changed the getLicense.view, I wasn't aware the apps bothered to use it. For me, it returns:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.7.0">
  <license valid="true" email="xxx" key="xxx" date="2012-04-25T22:16:14"/>
</subsonic-response>


Do the apps check the key and compare it to the email address (I think it's just md5:ed.. or used to be)? i.e do we need to put real, fake values there, or can we use any dummy value?
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Invalid licence response

Postby obcd » Tue Jan 08, 2013 9:24 am

I have no idea. Maybe it would be best to just remove it?
obcd
 
Posts: 40
Joined: Mon Nov 19, 2012 2:42 pm

Re: Invalid licence response

Postby daneren2005 » Tue Jan 08, 2013 6:05 pm

I considered removing the licence check. The reason I left it in is because in a default installation the server will give invalid licence responses no matter what you do once the trial expires.

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: Invalid licence response

Postby daneren2005 » Tue Jan 08, 2013 6:06 pm

And no I dont do anything special I just check if that view returns true or if any of the views return invalid licence error.

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: Invalid licence response

Postby hakko » Tue Jan 08, 2013 8:56 pm

Thanks! It should be safe to just return that the license is valid no matter what, then.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden


Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 26 guests