upgrading SS 4.4 to JWplayer 5.5

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

upgrading SS 4.4 to JWplayer 5.5

Postby 3R3 » Wed Mar 16, 2011 4:51 pm

This is tested on ubuntu linux standalone install, though any installation with a "subsonic/jetty/xxxx"-like folder tree should be ok too.

to upgrade SS 4.4 to the current JWplayer 5.5, just get the "mediaplayer.zip" from http://www.longtailvideo.com/players/jw-flv-player/ and drop the "player.swf" therein into your "subsonic/jetty/xxxx/webapp/flash" folder. Watch out to UNCHECK the "include viral plugin"-checkbox over the download button and email field, or else you are stuck with a "menu"-button on the new player! :-(
Rename to "jw-player-5.5.swf" for safety/backup purposes.

[AUDIO PLAYER]
in "subsonic/jetty/xxxx/webapp/WEB-INF/jsp" in playlist.jsp find:
Code: Select all
swfobject.embedSWF("<c:url value="/flash/jw-player-5.4.swf"/>", "placeholder", "340", "24", "9.0.0", false, flashvars, params, attributes);

replace with:
Code: Select all
swfobject.embedSWF("<c:url value="/flash/jw-player-5.5.swf"/>", "placeholder", "340", "24", "9.0.0", false, flashvars, params, attributes);


[VIDEO PLAYER]
in "videoPlayer.jsp" find:
Code: Select all
swfobject.embedSWF("<c:url value="/flash/jw-player-5.4.swf"/>", "placeholder1", width, height, "9.0.0", false, flashvars, params, attributes);

replace with:
Code: Select all
swfobject.embedSWF("<c:url value="/flash/jw-player-5.5.swf"/>", "placeholder1", width, height, "9.0.0", false, flashvars, params, attributes);


EDIT: fixed below "bug", see 2nd paragraph.
Though I havent tried to remove the annoying "menu" button on the new player. Maybe someone knows how to do this?

EDIT: this fixes the "2-3 seconds cut off at the end of a track" bug in SS/JWPlayer.
Last edited by 3R3 on Wed Mar 16, 2011 5:59 pm, edited 2 times in total.
User avatar
3R3
 
Posts: 332
Joined: Mon May 04, 2009 2:09 pm
Location: Germany

Postby GJ51 » Wed Mar 16, 2011 5:27 pm

If I remember correct, the simple cheat is to just rename the 5.5 to 5.4 and replace the old player file. I'm not positive, but I think if you uncheck the "Viral" player when you download you won't get the version with the menu.

Thanks for the location update.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby 3R3 » Wed Mar 16, 2011 5:30 pm

GJ51 wrote:If I remember correct, the simple cheat is to just rename the 5.5 to 5.4 and replace the old player file. I'm not positive, but I think if you uncheck the "Viral" player when you download you won't get the version with the menu.

Thanks for the location update.


Yes, maybe my wording was a bit strange :3 I am positive it is as you and I describe. Have just fiddled until it worked. About 3 browser cache flushs and 4 jetty ones, it finally did!

The reason I suggested to change the jsp files was to keep track which version is loaded, and to be able to switch back fast if needed. And I dont like to have wrong values in my servers jsp files (version 5.4 called when the file is actally a renamed 5.5...)
Last edited by 3R3 on Thu Mar 17, 2011 4:55 pm, edited 1 time in total.
User avatar
3R3
 
Posts: 332
Joined: Mon May 04, 2009 2:09 pm
Location: Germany

Postby jeffcavicchi » Thu Mar 17, 2011 1:24 pm

Hey guys-
I believe I was able to upgrade last night - took the player file, renamed it to the same thing as the older file, and replaced the older file. Performance seems much improved - but I'm wondering if there is any way to confirm the upgrade. The player does not look any different...any other clues as to what version of the player is running?

Thanks!
jeffcavicchi
 
Posts: 74
Joined: Thu Dec 23, 2010 10:54 pm

Postby privatesam » Thu Mar 17, 2011 1:41 pm

Thanks for this tutorial. I actually tried this the other day but didn't change the details in the videoplayer.jsp as well so it didn't work. Gonna give it another go tonight with these new instructions.

Hoping 5.5 might be a shade better at buffering my videos - wishful thinking maybe but we'll see!
privatesam
 
Posts: 19
Joined: Fri Feb 26, 2010 10:09 am

Postby jeffcavicchi » Thu Mar 17, 2011 1:46 pm

I didn't change the command lines - I just renamed the new player so that it matched the old player, and then replaced the old player. I believe that is what Gary was suggesting...
jeffcavicchi
 
Posts: 74
Joined: Thu Dec 23, 2010 10:54 pm

Postby privatesam » Thu Mar 17, 2011 1:57 pm

I know. I realise you didn't change the transcoding settings but me and Chimatt have had some weird buffering issues that Chimatt thinks are related to how JWPlayer deals with the picking up and dropping the buffer which we have discussed at this thread: http://forum.subsonic.org/forum/viewtop ... highlight=

I know its unlikely an iterative JWPlayer will fix these issues but its certainly worth a go - plus I'm a version junkie.
privatesam
 
Posts: 19
Joined: Fri Feb 26, 2010 10:09 am

Postby 3R3 » Thu Mar 17, 2011 4:53 pm

jeffcavicchi wrote:Hey guys-
I believe I was able to upgrade last night - took the player file, renamed it to the same thing as the older file, and replaced the older file. Performance seems much improved - but I'm wondering if there is any way to confirm the upgrade. The player does not look any different...any other clues as to what version of the player is running?

Thanks!

right-click on the player. at the top of the pop-up menu the version is stated.
privatesam wrote:I know. I realise you didn't change the transcoding settings but me and Chimatt have had some weird buffering issues that Chimatt thinks are related to how JWPlayer deals with the picking up and dropping the buffer which we have discussed at this thread: http://forum.subsonic.org/forum/viewtop ... highlight=

I know its unlikely an iterative JWPlayer will fix these issues but its certainly worth a go - plus I'm a version junkie.

For me it did indeed fix the issue with cut-off start and end of songs.
User avatar
3R3
 
Posts: 332
Joined: Mon May 04, 2009 2:09 pm
Location: Germany

Postby jeffcavicchi » Thu Mar 17, 2011 5:02 pm

Thanks!

I was indeed still using 5.4. I cleared the browser cache and flash cache, and viola! now I am using 5.5!

Thanks for the help!
jeffcavicchi
 
Posts: 74
Joined: Thu Dec 23, 2010 10:54 pm

Postby jeffcavicchi » Fri Mar 18, 2011 4:17 pm

Unfortunately, while the new player is working fine for me, it hasn't solved the problem I am having with a slight hesitation at the beginning of certain tracks...

Guess I'll have to wait and see if the next version of SS solves the problem.
jeffcavicchi
 
Posts: 74
Joined: Thu Dec 23, 2010 10:54 pm

Postby GJ51 » Sat Mar 19, 2011 7:06 pm

jeffcavicchi wrote:Unfortunately, while the new player is working fine for me, it hasn't solved the problem I am having with a slight hesitation at the beginning of certain tracks...

Guess I'll have to wait and see if the next version of SS solves the problem.


Jeff it sounds a bit more like you're problem may be with your files. Have you tried any library cleaner utilities?
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Postby jeffcavicchi » Sat Mar 19, 2011 7:12 pm

I agree, bur I'm not sure what the problem is. I've tried MP3Diags and VBRFix, and neither one finds any problems with the files. Also, some of them were ripped as MP4s using Winamp and then converted to MP3s using Tuneconvert, while some were ripped as VBR MP3s using FreeRip - and yet all of them exhibit the same problem. None of the MP3s I've purchased have the hesitation, so it's got to be something with the files...

OTOH, all of the files that have that slight hesitation using SS do not have the same problem when using Winamp or any other desktop player - so there is something about the combination of the files and SS that is causing this.

If anyone feels like helping out, I can zip a couple of the tracks I know do this and email them - maybe someone who knows more about MP3 headers, etc, can figure out what the problem is.

(While I was typing this the track that just started hesitated...)
jeffcavicchi
 
Posts: 74
Joined: Thu Dec 23, 2010 10:54 pm

Postby privatesam » Thu Mar 24, 2011 9:00 am

I successfully did this update and feel that there is a slight improvement with JWPlayer. Thanks for explaining how to do this.
privatesam
 
Posts: 19
Joined: Fri Feb 26, 2010 10:09 am

Postby pkwalker00 » Sun Jun 19, 2011 4:36 am

I have successfully used this method to upgrade to JWPlayer 5.6, but is there a way to use the new html5 capabilities?
pkwalker00
 
Posts: 1
Joined: Sun Jun 19, 2011 4:31 am

Re: upgrading SS 4.4 to JWplayer 5.5

Postby Beowolf » Wed Jan 25, 2012 10:56 pm

can some just make a patch and say drop here.... i am codeless
1,959 artists
1,970 albums
13,978 songs
941.65 GB (~ 14,628 hours)
Beowolf
 
Posts: 66
Joined: Tue Jan 24, 2012 2:02 am

Next

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 33 guests