Jukebox Fixes and Modifications [Revised 26/08/12]
| Author |
Message |
|
AndyA
Joined: Sun Oct 31, 2010 4:48 pm Posts: 1382 Location: Manchester, UK
|
 Re: Jukebox Fixes and Modifications [Revised 26/05/12]
@Greg - I'm on YAMJ r3120
Hopefully I'll have some time at the weekend to look at scripts for changing skins - away with work most of the week
Andy
_________________
Playon HD Mini PV73200+ Firmware v7.4.6 r7317 (Modified) YAMJ v2.9-Snapshot r3416 YAYMan r0.99.99.24 MediaInfo CLI v0.7.61 Buffalo Linkstation 2TB Mirrored NAS WD My World Book II 1TB Mirrored NAS Wired 1GB LAN
|
| Thu Jun 07, 2012 8:37 am |
|
 |
|
jr_mac_ryan
Joined: Tue Jan 31, 2012 2:03 am Posts: 90
|
 Re: Jukebox Fixes and Modifications [Revised 26/05/12]
GregiBoy wrote: mount -o bind /usr/local/etc/yamjmenu/yamjfocus.bmp /usr/local/bin/IMS_Modules/Yamj/image/yamjfocus.bmp On the POHD2 there is no file yamjfocus.bmp instead yamj_focus.bmp GregiBoy wrote: Firstly, this cut is based on the original AC Ryan screen with with new lines/graphics overlaid. Is that what you are seeing? If so, there will be new skins with different background images completed by next week. I though it best to start with a known quantity first and then go from there. I'll try to send you an implementation with a new background that I like over the weekend.
OK I wait till after the weekend.
_________________ Imac 19" OSX Mountain LIon 10.8 Playon HD2 Firmware_Playon!HD2_PV73700_v9.5.3.r7716. (internal Disk HFS+ Ext3). Sd card (Ext3 + optware). Netgear WNDR 3700 Gb Router. Netgear 8 port Gb Switch. Ubuntu -> Virtual Box -> OSX. Ipad 2. Iphone.
|
| Thu Jun 07, 2012 9:02 am |
|
 |
|
GregiBoy
Joined: Thu Jan 05, 2012 12:40 am Posts: 810 Location: Brisbane, AU
|
 Re: Jukebox Fixes and Modifications [Revised 26/05/12]
Got it JR....
I was having a problem getting that working with an overmount and it had been hardcoded in the RSS files. I think I now have it fixed and should appear in next version.
Thanks for pointing it out....
_________________ "Beer is living proof that God loves us and wants us to be happy." - Benjamin Franklin 1706-1790 "It's ALWAYS Beer o'clock" - Homer Simpson
|
| Fri Jun 08, 2012 1:32 am |
|
 |
|
GregiBoy
Joined: Thu Jan 05, 2012 12:40 am Posts: 810 Location: Brisbane, AU
|
 Re: Alternate Skin Graphics
These are now complete and sent to my colleagues for testing. As soon as they give the thumbs up, I'll post the final versions here. GregiBoy wrote: I have nearly completed my "GregiBoy" update for YAMJ with new layout of data and graphics. Andy has been testing the code and it all seems to work fine. I thought a good addition to this is to provide some alternate skins have put together a preview of some that I have prepared and are nearly ready. These will appear dark on a computer screen compared to the player and are best viewed as a photo on the player for comment. I have to get the colour balance and lightness correct before publishing so I'd appreciate any comments so please spend the time to have a look. I have named them for easy reference. I have used the "Movie Information" screen as an example but the background is reflected across all other YAMJ pages. This is the one based on the standard ACR stuff:-  This is "Space Fire":-  This is "Moon Water":-  This is "Royal Ripples":-  And this is "Hubble Bubble":-  I have also put together an animation of this for when YAMJ is loading or busy and it appears in the right position of the screens.  I hope you all take some time to have a look and all comments will be gratefully received.
_________________ "Beer is living proof that God loves us and wants us to be happy." - Benjamin Franklin 1706-1790 "It's ALWAYS Beer o'clock" - Homer Simpson
|
| Sun Jun 10, 2012 7:39 am |
|
 |
|
GregiBoy
Joined: Thu Jan 05, 2012 12:40 am Posts: 810 Location: Brisbane, AU
|
 Re: Jukebox Fixes and Modifications [Revised 26/05/12]
I have revised the images in the post above so that you can see actual mockups of the Movie Information Page.
Andy and JR.
I have found that I can swap skins on the fly witout any reboot.... BONUS!!!
I have copied all the skins into their own directory under /usr/local/etc/skins.. The total space used on the player is YAMJMENU 660KB, LOADING 61.5KB and ALL 5 SKINS 5.25MB. If space becomes and issue, we could always store them on the USB drive and copy them from there.
I was had in mind to fiddle around with "umount" to umount them first but tried it without first and it worked!!!.
#!/bin/sh
#Copy new images cp /usr/local/etc/skins/moonwater/* /usr/local/etc/yamjmenu
#Modified Images #Updated YAMJ Main Menu image - new buttons mount -o bind /usr/local/etc/yamjmenu/BG_YAMJ.fsp /usr/local/bin/IMS_Modules/Yamj/image/BG_YAMJ.fsp #Updated Sets Image mount -o bind /usr/local/etc/yamjmenu/BG_YAMJ_L2.fsp /usr/local/bin/IMS_Modules/Yamj/image/BG_YAMJ_L2.fsp #Updated Movie Detail image - new buttons mount -o bind /usr/local/etc/yamjmenu/BG_YAMJ_MOVIEINFO.fsp /usr/local/bin/IMS_Modules/Yamj/image/BG_YAMJ_MOVIEINFO.fsp
_________________ "Beer is living proof that God loves us and wants us to be happy." - Benjamin Franklin 1706-1790 "It's ALWAYS Beer o'clock" - Homer Simpson
Last edited by GregiBoy on Mon Jun 11, 2012 3:43 am, edited 1 time in total.
|
| Mon Jun 11, 2012 1:39 am |
|
 |
|
GregiBoy
Joined: Thu Jan 05, 2012 12:40 am Posts: 810 Location: Brisbane, AU
|
 Re: Jukebox Fixes and Modifications [Revised 26/05/12]
Further testing :-
Heck!!! You don't even need to do the mounting just the copying and the skin will change in the middle of the use of the Jukebox on the player.
DOUBLE BONUS.....
_________________ "Beer is living proof that God loves us and wants us to be happy." - Benjamin Franklin 1706-1790 "It's ALWAYS Beer o'clock" - Homer Simpson
|
| Mon Jun 11, 2012 2:43 am |
|
 |
|
jr_mac_ryan
Joined: Tue Jan 31, 2012 2:03 am Posts: 90
|
 Re: Jukebox Fixes and Modifications [Revised 26/05/12]
HI GregiBoy Well I did some testing too. Did not found any troubles The skins look good but is not really suitable for a CRT TV and just using the video output. Do I need to buy a digital TV now? What I was missing is to change the skins in the menu so I created a little script myself Code: /usr/local/etc/yamjmenu # cat skinsscript #!/bin/ash
#copy new bgimage to yamjmenu
sourcedir=/usr/local/etc/yamjmenu/skins/ targetdir=/usr/local/etc/yamjmenu
#copyfunction
copybg(){ echo $sourcedir$1 cp $sourcedir$1/BG* $targetdir }
#input data
if [ $# != 1 ]; then echo $"Usage: $0 {hubblebubble|moonwater|royalripples|spacefire|standard}" return 1 fi case "$1" in hubblebubble) copybg $1 ;; moonwater) copybg $1 ;; royalripples) copybg $1 ;; spacefire) copybg $1 ;; standard) copybg $1 ;; *) echo $"Usage: $0 {hubblebubble|moonwater|royalripples|spacefire|standard}" esac
Indeed there is no need to remount the BG images! I also created a new version of my mount script and added umount as well to it. and made a reference in my rcS. Quote: /usr/local/etc # cat yamjscript #!/bin/sh #common userdir=/usr/local/etc/yamjmenu/ #images imagedir=/usr/local/bin/IMS_Modules/Yamj/image/ imagebindir=/usr/local/bin/image/ popup=" POPUP_LOADING_01.fsp POPUP_LOADING_02.fsp POPUP_LOADING_03.fsp POPUP_LOADING_04.fsp POPUP_LOADING_05.fsp POPUP_LOADING_06.fsp POPUP_LOADING_07.fsp POPUP_LOADING_08.fsp " rss=" RatingFilterPopup.rss GenresFilterPopup.rss TitleFilterPopup.rss YearFilterPopup.rss LibraryFilterPopup.rss SetFilterPopup.rss PostList.rss PostList_L2.rss MovieInformation.rss " images=" BG_YAMJ.fsp BG_YAMJ_L2.fsp BG_YAMJ_MOVIEINFO.fsp YAMJ_EPISODE_FOCUS.bmp yamj_focus.bmp " imagelddir=/usr/local/etc/loading/ #scripts rssdir=/usr/local/etc/yamjmenu/
create_binds () { #echo $1 #echo $2 #echo $3 #echo $# #echo $* j=0 for n in $* ;
do if [ $j -ge 2 ]; then #echo $2$n if [ -f $2$n ]; then
mount -o bind $1$n $2$n #echo ok else echo $2$n "has failed" fi fi let j+=1 #echo $j done }
remove_binds (){ j=0 for n in $*; do if [ $j -ge 1 ];then if [ -f $1$n ] #echo $1$n then umount $1$n else echo $1$n "remove bind has failed" fi fi let j+=1 #echo $j done }
bind_action (){ create_binds $userdir $imagedir $images create_binds $userdir $rssdir $rss create_binds $imagelddir $imagebindir $popup mount -o bind /usr/local/etc/yamjmenu/IMAGE_SCREENSAVER_LOGO.bmp /usr/local/bin/Resource/IMAGE_SCREENSAVER_LOGO.bmp }
unbind_action(){ remove_binds $imagedir $images remove_binds $rssdir $rss remove_binds $imagebindir $popup umount /usr/local/bin/Resource/IMAGE_SCREENSAVER_LOGO.bmp }
case "$1" in mount) bind_action ;; umount) unbind_action ;; *) echo $"Usage: $0 {mount|umount}" esac #mount -o bind /usr/local/etc/yamjmenu/IMAGE_SCREENSAVER_LOGO.bmp /usr/local/bin/Resource/IMAGE_SCREENSAVER_LOGO.bmp
Maybe you(we) should also look at removing the package if the user does not require it any more. You and AndyA have done great work to sort this out!. JR
_________________ Imac 19" OSX Mountain LIon 10.8 Playon HD2 Firmware_Playon!HD2_PV73700_v9.5.3.r7716. (internal Disk HFS+ Ext3). Sd card (Ext3 + optware). Netgear WNDR 3700 Gb Router. Netgear 8 port Gb Switch. Ubuntu -> Virtual Box -> OSX. Ipad 2. Iphone.
|
| Mon Jun 11, 2012 8:01 am |
|
 |
|
AndyA
Joined: Sun Oct 31, 2010 4:48 pm Posts: 1382 Location: Manchester, UK
|
 Re: Jukebox Fixes and Modifications [Revised 26/05/12]
Hi Greg it all looks good so far. I'll do some more testing later this week - wednesday or thursday hopefully Andy
_________________
Playon HD Mini PV73200+ Firmware v7.4.6 r7317 (Modified) YAMJ v2.9-Snapshot r3416 YAYMan r0.99.99.24 MediaInfo CLI v0.7.61 Buffalo Linkstation 2TB Mirrored NAS WD My World Book II 1TB Mirrored NAS Wired 1GB LAN
|
| Mon Jun 11, 2012 8:17 am |
|
 |
|
GregiBoy
Joined: Thu Jan 05, 2012 12:40 am Posts: 810 Location: Brisbane, AU
|
 Re: Jukebox Fixes and Modifications [Revised 26/05/12]
It sounds like a extremely good justification jr_mac_ryan wrote: Do I need to buy a digital TV now? 
_________________ "Beer is living proof that God loves us and wants us to be happy." - Benjamin Franklin 1706-1790 "It's ALWAYS Beer o'clock" - Homer Simpson
|
| Mon Jun 11, 2012 8:17 am |
|
 |
|
pfff
Joined: Tue Mar 08, 2011 7:23 pm Posts: 37
|
 Re: Jukebox Fixes and Modifications [Revised 26/05/12]
Just out of curiousity, but how will you load skins and switch to them without a Telnet session ? I may be wrong but there's no way to copy files in rss scripts. One solution I see (for a modded firmware and easy for users), is to have a configuration file (xml?) you can read/write in setup menu (in system.rss or misc.rss for ex.) in order to change skins. Then, parse the file with conditions in rcS and overmount or copy the appropriate files. But, in this case it would require a reboot.
Anyway, this is just ideas, and surely require lot of time for something less important than already fixed issues and improvements for this damn firmware.
|
| Mon Jun 11, 2012 4:12 pm |
|
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|