Share links not working?

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

Moderator: moderators

Re: Share links not working?

Postby bushman4 » Mon Jan 14, 2013 3:37 pm

Why does it think that the player is an "external player?"

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 874
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Share links not working?

Postby shadow.8 » Mon Jan 14, 2013 4:00 pm

Not sure... Player 2, which was created when the user was created, no longer exists but I now have 'Player 3 [null]' and it's "Web Player" and not external player or jukebox. Seems like something very strange is happening with the players.
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: Share links not working?

Postby Boutros » Mon Jan 14, 2013 4:22 pm

shadow.8, I was able to play your most recent share (though still with no cover art displayed).

I could always play my own shares, whether I was actually logged in to my server or not, and people who had accounts on my server were also generally able to play shares (even when not logged in to my server at that moment).

I also did an experiment where I sent a share link to a co-worker of mine who doesn't have an account on my server. He was able to play it with no problem, but he showed up in the Now Playing panel (and in the log) not as a guest user, but as another of my co-workers who DOES have an account (which makes a certain amount of sense, since he's on the same network, but which is still a bit confusing).

So, yes - strange things afoot in the Players...
Boutros
 
Posts: 119
Joined: Mon Jun 06, 2011 6:09 pm

Re: Share links not working?

Postby shadow.8 » Mon Jan 14, 2013 4:35 pm

Boutros wrote:shadow.8, I was able to play your most recent share (though still with no cover art displayed).

I could always play my own shares, whether I was actually logged in to my server or not, and people who had accounts on my server were also generally able to play shares (even when not logged in to my server at that moment).

I also did an experiment where I sent a share link to a co-worker of mine who doesn't have an account on my server. He was able to play it with no problem, but he showed up in the Now Playing panel (and in the log) not as a guest user, but as another of my co-workers who DOES have an account (which makes a certain amount of sense, since he's on the same network, but which is still a bit confusing).

So, yes - strange things afoot in the Players...


Interesting... I didn't change a thing. Here's the log:

Code: Select all
[1/14/13 9:15:50 AM UTC]   DEBUG   ExternalPlayerController   pass songs to externalplayer: [/mnt/2.5TB/Music/Artists/Dream Theater/2009 Wither [Single]/01 Wither (Album Version).mp3, /mnt/2.5TB/Music/Artists/Dream Theater/2009 Wither [Single]/02 Wither (Piano Version).mp3, /mnt/2.5TB/Music/Artists/Dream Theater/2009 Wither [Single]/03 Wither (John Petrucci Vocal Demo).mp3, /mnt/2.5TB/Music/Artists/Dream Theater/2009 Wither [Single]/04 The Best of Times (Mike Portnoy Vocal Demo).mp3]
[1/14/13 9:15:50 AM UTC]   DEBUG   ExternalPlayerController   pass coverArts to externalplayer: [/mnt/2.5TB/Music/Artists/Dream Theater/2009 Wither [Single]/01 Wither (Album Version).mp3, /mnt/2.5TB/Music/Artists/Dream Theater/2009 Wither [Single]/01 Wither (Album Version).mp3, /mnt/2.5TB/Music/Artists/Dream Theater/2009 Wither [Single]/01 Wither (Album Version).mp3, /mnt/2.5TB/Music/Artists/Dream Theater/2009 Wither [Single]/01 Wither (Album Version).mp3]
[1/14/13 9:15:50 AM UTC]   INFO   PlayerDao   Created player 4.
[1/14/13 9:15:51 AM UTC]   DEBUG   StreamController   got mfId = 851 from param 851
[1/14/13 9:15:51 AM UTC]   INFO   PlaylistInputStream   guest listening to "2009 Wither [Single]/01 Wither (Album Version).mp3"
[1/14/13 9:15:51 AM UTC]   DEBUG   AudioScrobblerService   Last.fm not enabled. Not scrobbling for guest.
[1/14/13 9:16:10 AM UTC]   DEBUG   AudioScrobblerService   Last.fm not enabled. Not scrobbling for guest.


It created yet another player, this time it says "Player 4 [guest]" and it's a 'web player.' There is album art for this album, I do see it in SS and you can see it below. I'm glad to see it's at least working but I don't know what changed to make it work...

Image
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: Share links not working?

Postby hakko » Mon Jan 14, 2013 8:36 pm

I'm not making much out of this so far... when it doesn't work, could you also try deleting the cookie player-* which will impact what player is chosen by the Subsonic server?

For example, I right now have cookies called player-61646d696e (=admin) and player-null. They will be picked up and used even if I'm not logged in (hmm..) instead of the guest player.

I think that the lack of artwork comes from passing an mp3 file with embedded artwork to JWPlayer instead of an image file (this is a change that I've introduced) but not quite sure.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Share links not working?

Postby Boutros » Mon Jan 14, 2013 8:45 pm

I think that the lack of artwork comes from passing an mp3 file with embedded artwork to JWPlayer instead of an image file (this is a change that I've introduced) but not quite sure.


I'm not sure about this either - everything that I've shared (and have had people report not seeing artwork) has had both embedded artwork and a folder.jpg in the album folder.
Boutros
 
Posts: 119
Joined: Mon Jun 06, 2011 6:09 pm

Re: Share links not working?

Postby hakko » Mon Jan 14, 2013 8:52 pm

Only one image file is sent to JWPlayer, and MusicCabinet favors embedded artwork over folder artwork which might differ from how Subsonic handled it. So the .mp3 file is sent as artwork instead of a .png etc, not sure if JWPlayer likes that (I haven't checked the code).
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Share links not working?

Postby shadow.8 » Mon Jan 14, 2013 8:53 pm

Boutros wrote:
I think that the lack of artwork comes from passing an mp3 file with embedded artwork to JWPlayer instead of an image file (this is a change that I've introduced) but not quite sure.


I'm not sure about this either - everything that I've shared (and have had people report not seeing artwork) has had both embedded artwork and a folder.jpg in the album folder.


Yup, same here. I'm meticulous about my music collection.

I'm also not sure about cookies being the issue. I've been opening these links at work in an 'incognito' browser window on Chrome, which won't keep cookies after the window is closed. After closing and re-opening a new browser window (effectively clearing cookies), the issue continues.
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

Previous

Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 12 guests