Musiccabinet update 7.20 -> 7.21b Share problem

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

Moderator: moderators

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby Boutros » Mon Mar 25, 2013 3:07 pm

shadow.8 wrote:
Still getting error 2032 when accessing your link. Feel free to try mine:

http://tlp.69.mu/share/pjRYp


Thanks for checking, shadow. Yes, same thing when I hit your link.

And thank you, hakko, for looking into this - I really shudder at the thought of doing another migration back to SS 4.7, so I'm hoping you can pull a rabbit out of your proverbial hat.
Boutros
 
Posts: 119
Joined: Mon Jun 06, 2011 6:09 pm

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby kwekkerz » Mon Mar 25, 2013 3:30 pm

My sharing workes with v.7.24. I fill in the correct link by button: settings - general (bottum page) "Share URL prefix"
kwekkerz
 
Posts: 32
Joined: Tue Mar 09, 2010 1:56 pm
Location: Netherlands

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby Boutros » Mon Mar 25, 2013 3:41 pm

kwekkerz wrote:My sharing workes with v.7.24. I fill in the correct link by button: settings - general (bottum page) "Share URL prefix"


My understanding was that this feature was for if you have a custom DNS name. Since I'm using a standard http://myname.subsonic.org name, I shouldn't need to do anything here, should I?
Boutros
 
Posts: 119
Joined: Mon Jun 06, 2011 6:09 pm

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby hakko » Mon Mar 25, 2013 5:20 pm

Would you mind trying out an idea (I can't test anything properly right now)?

1. Go to Settings -> Users
2. Choose user "guest", mark "Delete user", and press Save
3. Stop your Subsonic service
4. Replace your subsonic.war with http://dilerium.se/musiccabinet/24b/subsonic.war
5. Start your Subsonic service
6. Share something and see if the error persists

It's the same code as yesterday, just a minimal change in ExternalPlayerController.java.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby shadow.8 » Mon Mar 25, 2013 5:31 pm

hakko wrote:Would you mind trying out an idea (I can't test anything properly right now)?

1. Go to Settings -> Users
2. Choose user "guest", mark "Delete user", and press Save
3. Stop your Subsonic service
4. Replace your subsonic.war with http://dilerium.se/musiccabinet/24b/subsonic.war
5. Start your Subsonic service
6. Share something and see if the error persists

It's the same code as yesterday, just a minimal change in ExternalPlayerController.java.


Done. Here's a share I just created, anyone mind trying it?

http://tlp.69.mu/share/LctYj
676 artists
2,348 albums
26,738 songs
276.51 GB (~ 1,993 hours)
User avatar
shadow.8
 
Posts: 110
Joined: Wed Sep 26, 2012 12:12 am

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby Boutros » Mon Mar 25, 2013 5:34 pm

hakko wrote:Would you mind trying out an idea (I can't test anything properly right now)?


I'm stuck at work right now, so I can't do this until tonight/tomorrow. Maybe shadow.8 can?
Boutros
 
Posts: 119
Joined: Mon Jun 06, 2011 6:09 pm

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby Boutros » Mon Mar 25, 2013 5:38 pm

shadow.8 wrote:
Done. Here's a share I just created, anyone mind trying it?

http://tlp.69.mu/share/LctYj


Error #2032
Boutros
 
Posts: 119
Joined: Mon Jun 06, 2011 6:09 pm

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby shadow.8 » Mon Mar 25, 2013 5:47 pm

This is what the log shows:

Code: Select all
[3/25/13 11:30:35 AM UTC]   INFO   ShareService   Created share 'LctYj' with 6 file(s).
[3/25/13 11:33:38 AM UTC]   INFO   PodcastService   Starting scheduled Podcast refresh.
[3/25/13 11:33:38 AM UTC]   INFO   PodcastService   Completed scheduled Podcast refresh.
[3/25/13 11:37:34 AM UTC]   DEBUG   ExternalPlayerController   pass songs to externalplayer: [/share/music/Artists/Rush/1976 2112/01 2112.mp3, /share/music/Artists/Rush/1976 2112/02 A Passage to Bangkok.mp3, /share/music/Artists/Rush/1976 2112/03 The Twilight Zone.mp3, /share/music/Artists/Rush/1976 2112/04 Lessons.mp3, /share/music/Artists/Rush/1976 2112/05 Tears.mp3, /share/music/Artists/Rush/1976 2112/06 Something for Nothing.mp3]
[3/25/13 11:37:34 AM UTC]   DEBUG   ExternalPlayerController   pass coverArts to externalplayer: [/share/music/Artists/Rush/1976 2112/01 2112.mp3, /share/music/Artists/Rush/1976 2112/01 2112.mp3, /share/music/Artists/Rush/1976 2112/01 2112.mp3, /share/music/Artists/Rush/1976 2112/01 2112.mp3, /share/music/Artists/Rush/1976 2112/01 2112.mp3, /share/music/Artists/Rush/1976 2112/01 2112.mp3]
[3/25/13 11:37:34 AM UTC]   INFO   SecurityService   Created user guest
[3/25/13 11:37:34 AM UTC]   INFO   PlayerDao   Created player 32.
[3/25/13 11:37:35 AM UTC]   WARN   StreamController   No user associated with Player 30 [null]
[3/25/13 11:37:48 AM UTC]   WARN   StreamController   No user associated with Player 30 [null]


Seems like it created player 32 but tried to play with player 30, which isn't associated with any user.
676 artists
2,348 albums
26,738 songs
276.51 GB (~ 1,993 hours)
User avatar
shadow.8
 
Posts: 110
Joined: Wed Sep 26, 2012 12:12 am

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby hakko » Mon Mar 25, 2013 6:01 pm

Thanks, both of you! shadow.8, do you think that you could also go to db.view, type "select * from player" and send me the output in a PM? A copy-paste might be unreadable but maybe the whole html page is easier? unless it contains any private information.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby Boutros » Mon Mar 25, 2013 6:10 pm

For what it's worth, when I created the share I posted above, my highest-numbered player in the dropdown was Player 35. I sent the share link to two people to test, as well as posting it here - I'm assuming shadow.8 is the only person here to test that link. I now see that the following players have been created:

Player 36 [guest]
Player 37 [null]
Player 38 [null]
Player 39 [null]

So it seems to be exhibiting similar behavior to what shadow.8 is seeing in his log files - i.e. created a "guest" player (there hadn't been one previously), but then creating a new "null" player for each person to hit the link.
Boutros
 
Posts: 119
Joined: Mon Jun 06, 2011 6:09 pm

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby shadow.8 » Mon Mar 25, 2013 6:20 pm

PM sent. :D
676 artists
2,348 albums
26,738 songs
276.51 GB (~ 1,993 hours)
User avatar
shadow.8
 
Posts: 110
Joined: Wed Sep 26, 2012 12:12 am

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby kwekkerz » Mon Mar 25, 2013 6:48 pm

Try this link and you will see that sharing works ; http://kwekkerz.nl:2113/share/kyCJB and this one; http://kwekkerz.nl:2113/share/EpCOZ
kwekkerz
 
Posts: 32
Joined: Tue Mar 09, 2010 1:56 pm
Location: Netherlands

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby shadow.8 » Mon Mar 25, 2013 6:53 pm

kwekkerz wrote:Try this link and you will see that sharing works ; http://kwekkerz.nl:2113/share/kyCJB and this one; http://kwekkerz.nl:2113/share/EpCOZ


I get error 2032 on both.

What I've discovered in the past is sharing will work if you have a registered user on the server and are currently logged in, but anyone without an account will get the error 2032.
676 artists
2,348 albums
26,738 songs
276.51 GB (~ 1,993 hours)
User avatar
shadow.8
 
Posts: 110
Joined: Wed Sep 26, 2012 12:12 am

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby Boutros » Mon Mar 25, 2013 7:00 pm

shadow.8 wrote:
kwekkerz wrote:Try this link and you will see that sharing works ; http://kwekkerz.nl:2113/share/kyCJB and this one; http://kwekkerz.nl:2113/share/EpCOZ


I get error 2032 on both.
Boutros
 
Posts: 119
Joined: Mon Jun 06, 2011 6:09 pm

Re: Musiccabinet update 7.20 -> 7.21b Share problem

Postby kwekkerz » Mon Mar 25, 2013 7:11 pm

Indeed, Sharing for non members isn't working ;-(, Damned !!
kwekkerz
 
Posts: 32
Joined: Tue Mar 09, 2010 1:56 pm
Location: Netherlands

PreviousNext

Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 32 guests