View unanswered posts | View active topics It is currently Fri May 24, 2013 5:12 am



Reply to topic  [ 86 posts ]  Go to page 1, 2, 3, 4, 5 ... 9  Next
 Simple RSS Jukebox 
Author Message

Joined: Sat May 08, 2010 5:07 am
Posts: 335
Post Simple RSS Jukebox
UPDATE:

Version 4.1

To install the jukebox telnet to your player and issue the following commands:

Code:
# cd /tmp && w_get http://dl.dropbox.com/u/15169815/jbinstall.sh && sh jbinstall.sh


Only changes to the scripts shell/cgi hence they are no need to run the jukebox_update unless you want all your movies included (See change log).

Change log:

Version 4.1

- MovieName.jpg and MovieName_sheet.jpg are now detected as proper thumbnails and moviesheets respectively.
- Option -a no longer exist and all movies no matter whether they have a proper thumbnail or moviesheet will be included in the jukebox. Generic thumbnail and moviesheet will be selected for those ones.
- Option -d also been removed since all the movie are now added to the jukebox.


Version 4.0

To install the jukebox telnet to your player and issue the following commands:

Code:
# cd /tmp && w_get http://dl.dropbox.com/u/15169815/jbinstall.sh && sh jbinstall.sh


Full Documentation available here: http://dl.dropbox.com/u/15169815/Simple ... erator.pdf

I highly recommend that you read thru it before you start to install.

Video showing installation + jukebox update available here: http://www.youtube.com/watch?v=04xRDBusisw

Movie Genre compatible with SRJG available here: http://dl.dropbox.com/u/15169815/pictur ... _genre.zip

Change log:

Version 4.0

- Added Main Menu to the Jukebox to select the various movies genres.
- The -t (title) option has been removed since the title is now taken from the directory name.
- Fix the error when a space is in the directory name
- Documentation now available.
- Only one Jukebox.rss and Jukebox3x8.rss is used; Jukebox.rss and Jukebox3x8.rss in the movie directory can be deleted.
- Item for the Main Menu are parsed using the genre.jpg file (See documentation for details)
- Added the -d option which will display the movies not being added.
- Clean up some of the code and optimized some of the function to speed up things


Version 3.1

To install the jukebox telnet to your player and issue the following commands (remove the _ in w_get):

Code:
# cd /tmp && w_get http://dl.dropbox.com/u/15169815/jbinstall.sh && sh jbinstall.sh


Only somes changes to the shell and cgi scripts; there are no requirement to reinstall jukebox; the new scripts will be used the next time you update your jukebox.


Change log:

Version 3.1

- Added the mov extension when searching for movies.
- Fix issues with the counts of the movies not being added
- Fix the parsing of the arguments
- Clean up some of the code

Version 3.0

- Jukebox can now be updated from the TV screen by pressing the number "2" on the remote (See instructions below).
- During jukebox update; scripts now look for a filter.conf to use as a filter unless a -f option is specified. It will also used that file during the jukebox update done using the TV screen menu. (See instruction below).
- Changes in the controls descriptive menu.
- Automatic installation script now available.
- Fixed the thumbnails (duplicate) at the end of the jukebox not being updated properly.

Version 2.0:
- Movies can now be played directly from the thumbnail view by pressing the play button.
- New 3x8 thumbnail view available by pressing "1" on the remote control (See picture link below)
- Descriptive menu for controls has been added

Known Bugs:
- Jukebox_update scripts (sh/cgi-bin) can not handle directory with spaces in them.

------------------------------------------------------------------------------------------------------------------------------

To install the jukebox telnet to your player and issue the following commands (remove the _ in w_get_:

Code:
# cd /tmp && w_get http://dl.dropbox.com/u/15169815/jbinstall.sh && sh jbinstall.sh


This installation script will take care of the installation on both type of filesystems yaffs and squashfs making sure that all the proper overmount are performed on a squashfs filesystem. That being said if you are using squashfs filesystem you will need a way to access the jukebox from the IMS Menu. In other words you will need to overmount your /usr/local/bin/scripts/ directory somewhere that is writable.

For the new version to be available just run /usr/local/etc/srjg/jukebox_update with the -i option + the other options of course and the new jukebox (jukebox.rss & jukebox.xml) will get installed.

Also when you update the jukebox using the TV screen menu you must leave the jukebox feed (press return) and enter it again for the changes caused by the update to show up.

Here's more stuff you should read; hopefully I will have full documentation soon.

The filter.conf file have to reside in the /usr/local/etc/srjg/ directory. It is just a straight text file where you insert the text that was entered under the -f option in previous versions. This file basically replace the -f options of the command line and follow the same syntax as the -f option except that the quotes are no longer necessary if there is a space in a word. Just as an example here's the content of mine: sample,trailer,2 ch,cd2 (Still need the comma's to separate the items); I just used vi to create the file. The -f option still exist and will superceded the filter.conf file when used except when the jukebox update is done using the TV Screen menu where the filter.conf file if it exist will always be used.

Enjoy!

--------------------------------------------------------------------------------------------------------------------------------

UPDATE: Version 2.0 is now available at this link: http://dl.dropbox.com/u/15169815/srjgv2.zip

You MUST run the jukebox_update.sh command with the -i option for the new jukebox to show up; without the -i only the jukebox.xml containing your movies will get updated.

Change logs:

Version 2.0:
- Movies can now be played directly from the thumbnail view by pressing the play button.
- New 3x8 thumbnail view available by pressing "1" on the remote control (See picture link below)
- Descriptive menu for controls has been added

Known Bugs:
- Thumbnails at the end of the jukebox do not get updated correctly will show twice. I got rid of that problem by doing a redrawDisplay for those last few thumbnails but it made the navigation on those last thumbnails sluggish so I decided to remove that command until I can find a better solution.

New 3x8 view = http://dl.dropbox.com/u/15169815/SAM_0236.JPG

Installations:

Still no installation script but I recommend the following step for installation (Don't forget to remove the dash in w_get):

Telnet to the POHD:

Code:
# cd /tmp
# w_get http://dl.dropbox.com/u/15169815/srjgv2.zip
# unzip -o /tmp/srjgv2.zip -d /usr/local/etc/


That's it the new version will be available just run /usr/local/etc/srjg/jukebox_update with the -i option + the other options of course and the new jukebox will get installed.

Currently working on the procedure to update the jukebox from the screen menu. I am having a little bit of issues but I think I am almost there. So hopefully this option will be available soon.

Enjoy!

-------------------------------------------------------------------------------------------------

This is a linux script that create/update a rss based jukebox for your media player. To install just extract the srjg directory to your /usr/local/etc directory on the player. It is very important that all the files resides on the /usr/local/etc/srjg/ to work properly. This is still work in progress ... sorry no automatic installation script yet. I have been using this little script for about a month now and meant to do a lot more error checking before releasing it but the way things have been going I just haven't had the time so I decided to release it now so that other people can make use of it right away. As such I do not recommend this jukebox creator for anyone that have no idea how to telnet or does not know a little bit about linux.

First of all you should know that this is just a simple rss jukebox and as such does not have the full capability offered by tvixie2playon jukebox. This script create a simple jukebox view (moviewall) / moviesheetview and that's all. You can create as many jukeboxes as you want however on various directory. Basically this script will create a Jukebox.rss and a jukebox.xml file on you movies directory that you specify on the command line. To learn more about all the various command line options just read the script or type /usr/local/etc/srjg/jukebox_update.sh -h for help. Here's a typical command line with option to create a jukebox.

/usr/local/etc/srjg/jukebox_update.sh -i -p /tmp/usbmounts/Movies/ -t Movies -f "sample,2 ch,trailer"

Here's the explanation:

-i : Install jukebox, this should only be required the first time you run this command on a specific directory and will create the jukebox.rss + jukebox.xml. Without the -i only the jukebox.xml gets updates ... in case you added new movies to your directory.
-p : Path of the movies directory; this is also where the Jukebox.rss & jukebox.xml are created.
-t : Title of your jukebox; title shows up in the top of the moviewall.
-f : Filter; all the movies having the string mentioned will be ignored and not added to the jukebox. In the previous example all the movies with the words sample, 2 ch or trailer in them will be skipped/ignore. The quotes "" were used because there were a space in the string "2 ch". Qoutes have to be used in the options whenever a space is in one of the options no matter which one. For example -t "Kids Movies"

In a nutshell the script will scan for any files in the directory that have an ending of asf|avi|dat|flv|iso|mkv|mp4|mpg|rm|rmvb|vob|wmv|m4v. Using that information it will create the jukebox. It should be noted that unless the -a option is used only the movies having a folder.jpg (thumbnail) a 0001.jpg (moviesheet) or a about.jpg (moviesheet) present in the same directory as the movies will be added to the jukebox.

Now how you acces the Jukebox.rss file is up to you. You can use OoD nice movie_jukebox.rss, directly from the menu.rss of whatever method you want to use to accomplish that. I personnaly use the movie_jukebox.rss that comes with tvixie2playonHD and add my 2 jukebox.rss feed to it (Movies and Kids Movies).

I know that this might sound complicated but it really isn't once you are setup correctly. Once setup properly it's just a matter of adding the movie directory with folder.jpg/ about.jpg or 0001.jpg to your movie directory and run the jukeboxupdate.sh script to add that movie to the jukebox. The ultimate goal is to eventually run the script as a cgi-bin app from mikka's infosite and allow updating the jukebox using a TV screen menu ..... currently working on that on my spare time.

Anyhow; remember that this is still work in progress so if you have any issues just let me know and I will see what I can do.

Here's the link to the jukebox files; just unzip to the /usr/local/etc directory of the player: http://dl.dropbox.com/u/15169815/srjg.zip

The look and feel of this jukebox is a total rip off from the mede8er moviewall which I think looks great so why not use it. Screenshots available here:
http://dl.dropbox.com/u/15169815/SAM_0223.JPG
http://dl.dropbox.com/u/15169815/SAM_0225.JPG

Credit for this jukebox also goes to:
mikka: The original script developer that planted the seed in my head.
and OoD : Borrowed a lot of the codes from tixive2palyonHD rss feed

Cheers!!!!


Last edited by snappy46 on Sat Jun 04, 2011 6:16 pm, edited 7 times in total.



Sun Apr 03, 2011 4:14 am
Profile

Joined: Sat Feb 13, 2010 9:59 pm
Posts: 673
Location: Tilburg
Post Re: Simple RSS Jukebox
Nice job snappy46!

I have a few questions:

1) If I install (-i) jukebox using one directory and then I want to use a different one, should I use -i switch or not?

2) I know it's 'Simple RSS Jukebox', but.. any chances we can get full moviewall functionality as it's used in another brand? What I was thinking, if I have following directory structure:

Quote:
Action/Pulp Fiction (1994)
Action/Rambo III (1988)
Action/Red (2010)
..
Comedy/The Terminal (2004)
Comedy/What Women Want (2000)


So 'Action' could have it's own thumbnail image (based on directory name) and all action movies inside it. This way playing movie will take 2x clicks: one to enter category, second to actually play the movie (if moviesheet exists it will take 3x clicks).


Thu Apr 07, 2011 6:17 pm
Profile

Joined: Sat May 08, 2010 5:07 am
Posts: 335
Post Re: Simple RSS Jukebox
mikka wrote:
Nice job snappy46!

I have a few questions:

1) If I install (-i) jukebox using one directory and then I want to use a different one, should I use -i switch or not?

2) I know it's 'Simple RSS Jukebox', but.. any chances we can get full moviewall functionality as it's used in another brand? What I was thinking, if I have following directory structure:

Quote:
Action/Pulp Fiction (1994)
Action/Rambo III (1988)
Action/Red (2010)
..
Comedy/The Terminal (2004)
Comedy/What Women Want (2000)


So 'Action' could have it's own thumbnail image (based on directory name) and all action movies inside it. This way playing movie will take 2x clicks: one to enter category, second to actually play the movie (if moviesheet exists it will take 3x clicks).


Yeah you are correct you can and shall use the -i option on a new directory and as on many directories as you wish. The only thing more that -i does is create another Jukebox.rss file on the directory. For example I use two different directory one for the adult movies (PG13+) not the R type and one directory for the kids movies. So basically I have 2 entries in my movie_jukebox.rss for each Jukebox.rss locations. The same could be done if you wanted to use genres .... one for action, one for comedy etc .... as long as the movies resides in separate directory ..... just like your example:

/usr/local/etc/srjg/jukebox_update.sh -i -p ....Action/ -t Action Movies
/usr/local/etc/srjg/jukebox_update.sh -i -p ....Comedy/ -t Comedy Movies
...
......

Your movie_jukebox.rss will then have two entries with the following links:

<item>
<title>Action Movies</title>
<link>..../Action/Jukebox.rss</link>
</item>

<item>
<title>Comedy Movies</title>
<link>..../Comedy/Jukebox.rss</link>
</item>

I hope this clarify things a bit; sorry for the poor documentation I just did not have the time to work on this in a few weeks so it seemed logical to release it at this time eventhough the script is pretty unforgiven about the syntax of the input. Hopefully I will have more time soon to complete and pretty up. Point is as long as you use the proper syntax to create/update your jukebox it works good.

Cheers !!!


Thu Apr 07, 2011 7:31 pm
Profile

Joined: Sat May 08, 2010 5:07 am
Posts: 335
Post Re: Simple RSS Jukebox
A new version of the Simple RSS Jukebox is available at this link: http://dl.dropbox.com/u/15169815/srjgv2.zip

See the first post for details / Change Log.

Enjoy!


Sat Apr 23, 2011 5:10 pm
Profile

Joined: Tue Nov 16, 2010 4:50 pm
Posts: 30
Location: Denmark
Post Re: Simple RSS Jukebox
Quote:
/usr/local/etc/srjg # ls
Jukebox_template.rss background.jpg nofolder.bmp
Jukebox_template3x8.rss focus.png unfocus.png
NoMovieinfo.bmp jukebox_update.sh version.txt
/usr/local/etc/srjg # jukebox_update.sh -i
-sh: jukebox_update.sh: not found
/usr/local/etc/srjg #


Also tried to insert the whole command line:

Quote:
/usr/local/etc/srjg # /usr/local/etc/srjg/jukebox_update.sh -i -p /tmp/usbmounts
/Movies/ -t Movies -f "sample,2 ch,trailer"
-sh: /usr/local/etc/srjg/jukebox_update.sh: Permission denied


What am I doing wrong?


Sun Apr 24, 2011 8:22 pm
Profile

Joined: Sat May 08, 2010 5:07 am
Posts: 335
Post Re: Simple RSS Jukebox
Funkster wrote:
Quote:
/usr/local/etc/srjg # ls
Jukebox_template.rss background.jpg nofolder.bmp
Jukebox_template3x8.rss focus.png unfocus.png
NoMovieinfo.bmp jukebox_update.sh version.txt
/usr/local/etc/srjg # jukebox_update.sh -i
-sh: jukebox_update.sh: not found
/usr/local/etc/srjg #


Also tried to insert the whole command line:

Quote:
/usr/local/etc/srjg # /usr/local/etc/srjg/jukebox_update.sh -i -p /tmp/usbmounts
/Movies/ -t Movies -f "sample,2 ch,trailer"
-sh: /usr/local/etc/srjg/jukebox_update.sh: Permission denied


What am I doing wrong?


First of all you need to have all the parameter when you issue the command to install for the first time just like you did in your second try. After you use the -i once it is no longer required. You also need a space between the parameter identifier and the parameter itself so -p [sp] /../... or -t [sp] title. If you are still getting the error it is possible that the jukebox_update.sh is not set as an executable; it should be but just in case you can issue the following command to make it executable.

# chmod +x jukebox_update.sh

Hope this help you get started; let me know if you have any more questions.

Cheers !!!


Mon Apr 25, 2011 1:05 am
Profile

Joined: Tue Nov 16, 2010 4:50 pm
Posts: 30
Location: Denmark
Post Re: Simple RSS Jukebox
Frustrating:

Quote:
/usr/local/etc/srjg # jukebox_update.sh -i -p /tmp/hdd/volumes/HDD1/movie/ -t Mo
vie -f "sample,trailer" -a


Think I have inserted the right spaces. Ran the chmod but still I get: -sh: jukebox_update.sh: not found

FIXED

just inserted sh before the command line and it worked!

How do I see the jukebox? Should I do like Mika descriped in his first topic of simple jukebox? Or is there a easier way?


Mon Apr 25, 2011 7:46 am
Profile

Joined: Sat May 08, 2010 5:07 am
Posts: 335
Post Re: Simple RSS Jukebox
Funkster wrote:
How do I see the jukebox? Should I do like Mika descriped in his first topic of simple jukebox? Or is there a easier way?


Yeah; just add the link to the Jukebox.rss to the movie_jukebox.rss this should work for you. Currently working on a main jukebox screen that will be launch from the menu.rss menu. In the meantime you can use movie_jukebox.rss.


Mon Apr 25, 2011 4:11 pm
Profile

Joined: Sat May 08, 2010 5:07 am
Posts: 335
Post Re: Simple RSS Jukebox
Version 3.0 is now availble see first post for details. Automatic installation script finally available.

I am now working on the entry screen for the jukebox which will have genre included so that you can launch a specific jukebox genre specific. If you have any suggestion for the entry screen please feel free to voice them. I could use some of your ideas / comments.

Snappy.


Thu Apr 28, 2011 2:16 pm
Profile

Joined: Sat Oct 24, 2009 6:29 pm
Posts: 8942
Location: Netherlands
Post Re: Simple RSS Jukebox
Does this also work on the r2115 fw for hd1 and on the fw's versions for the HD2 series ?

_________________
My latest music production released on 10-1-2012 !!!
http://www.youtube.com/watch?v=Kaagnvz3CAs
Playon HD1/HD2/HD3 and MIni series//DVR-HD/ESSENTIAL/VEOLO BLOG, Latest tips Tricks Unreleased Firmwares News and Tutorials !
HTTP://ACRYANFAQ.BLOGSPOT.COM


Thu Apr 28, 2011 2:40 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 86 posts ]  Go to page 1, 2, 3, 4, 5 ... 9  Next

Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  
Powered by: phpBB | Innitial forum Design by: STSoftware | Modified by: AC Ryan.