Page 26 of 31 FirstFirst ... 162425262728 ... LastLast
Results 251 to 260 of 301

Thread: Simple RSS Jukebox

  1. #251
    Join Date
    Dec 2009
    Location
    Canada (ON)
    Posts
    2,036

    Default

    Quote Originally Posted by jsmiddleton4 View Post
    Actually here is where I ended up. Did some additional tweaking, imagine that, and here are the pictures.

    Updated the background image for fullsheet mode to this:

    if (Etat==null) SheetPath = "${Jukebox_Path}images/Newsheetmode.jpg";

    That allows me to upload a custom full sheet image instead of looking at the black one with the film strip on it.

    Attached is what I used for new picture.

    I also moved the genre thumbnails to be at "71".

    elif [ $Jukebox_Size = "sheetwall" ]; then
    row="1"; col="8"; itemWidth="10.3"; itemHeight="25"; itemXPC="5.5"; itemYPC="71";

    Here is how it looks for the first page, the Genre sheetmode page, and then when you select a genre and see the movie thumbnail and the sheet information.


    Attachment 726
    Attachment 727
    Attachment 728
    It's always fun when user fix their own problems it saves me the work of doing it myself . Good job. Do you know if this issue is only related to you or does all user using SRJG on the AIOS have the same issue as you????

    As far as the genre not showing up it is related to this function that probably needs to be rewritten to be less constrictive in the srjg.cgi file.

    Code:
    if [ "$mode" = "genreSelection" ]; then
      # pulls out the genre of the movies
      # The first line does the following: Pull data from database; remove all leading/trailing white spaces; sort and remove duplicate
      # remove possible empty line that may exist; remove any blank line
      # that may be still present.
      ${Sqlite} -separator ''  "${Database}"  "SELECT genre FROM t1" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' | sort -u | sed '/<name/!d;s:.*>\(.*\)</.*:\1:' | grep "[!-~]" > /tmp/srjg_genre.list
    
      # Add "All Movies" depending of the language, into the genre list
      sed -i 1i"$AllMovies" /tmp/srjg_genre.list
      while read LINE
      do
    		# translate to find genre thumbnails
        Img_genre=`sed "/|${LINE}>/!d;s:.*>\(.*\)|:\1:" "${Jukebox_Path}lang/${Language}_genre"`
        if [ -z "$Img_genre" ]; then Img_genre=${LINE}; fi
        if [ ! -e "${Jukebox_Path}images/genre/$Img_genre.jpg" ]; then Img_genre="Unknown"; fi
    cat <<EOF
        <item>
        <title>${LINE}</title>
        <path>${Jukebox_Path}images/genre</path>
        <file>$Img_genre</file>
        </item>
    EOF
      done < /tmp/srjg_genre.list
    fi
    Basically the problem simply means that the genre name in the NFO file does not match any of the genre images. One quick fix that would probably help although is not the perfect solution would be to convert the Img_genre string to all caps and then doing the same for the genre images. That way we would at least eliminate the problem with Science Fiction vs Science fiction etc ..... Everything would be caps. By the way you do not seem to be using the latest available version on the google code SRJG site; not that it really matter since officially we have not yet released a stable version; still working on the documentation.

    Cheers !!!!

  2. #252
    Join Date
    Jul 2012
    Posts
    15

    Default

    Thanks. Have to do some step by step for me...

    the Img_genre string in NFO or somewhere in srjg?

    Do you mean change that:

    images/genre/$Img_genre.jpg"

    to this:

    images/genre/$IMG_GENRE.jpg"

    and change that:

    <file>$Img_genre</file>

    to this:

    <file>$IMG_GENRE</file>

    The version that was put in the latest AIOS firmware was done by aasoror. I'll let him know there is a newer version. Although he probably already knows.

    What about Suspense? I don't see it as a thumbnail genre on the wiki site. Is it not an approved listed genre?

    "the AIOS have the same issue as you????"

    Can't say for certain but my little fix was well received. The reason I'm not sure is the folks that are using it are using 2x6 or 3x8 and not fullsheet mode.
    Last edited by jsmiddleton4; 07-07-2012 at 09:13 PM.

  3. #253
    Join Date
    Dec 2009
    Location
    Canada (ON)
    Posts
    2,036

    Default

    Quote Originally Posted by jsmiddleton4 View Post
    Thanks. Have to do some step by step for me...

    the Img_genre string in NFO or somewhere in srjg?

    Do you mean change that:

    images/genre/$Img_genre.jpg"

    to this:

    images/genre/$IMG_GENRE.jpg"

    and change that:

    <file>$Img_genre</file>

    to this:

    <file>$IMG_GENRE</file>

    The version that was put in the latest AIOS firmware was done by aasoror. I'll let him know there is a newer version. Although he probably already knows.

    What about Suspense? I don't see it as a thumbnail genre on the wiki site. Is it not an approved listed genre?

    "the AIOS have the same issue as you????"

    Can't say for certain but my little fix was well received. The reason I'm not sure is the folks that are using it are using 2x6 or 3x8 and not fullsheet mode.
    Img_genre is the variable pointer you actually needs to change the string in that variable. Given the limited tool of the PBO busybox you probably would need something like this:

    Img_genre = `echo Img_genre | tr '[a-z]' '[A-Z]'` or something like that; now

    Science Fiction = SCIENCE FICTION
    Science fiction = SCIENCE FICTION

    now you can:

    if [ ! -e "${Jukebox_Path}images/genre/$Img_genre.jpg" ]; then Img_genre="Unknown"; fi

    Of course this would mean that you need to change all the jpeg in the genre directory to capital ex: SCIENCE FICTION.jpg. Not perfect but it would help until something better.


    Cheers !!!

  4. #254
    Join Date
    Jul 2012
    Posts
    15

    Default

    Thanks. I'll try to figure that out this evening,

    Have a question.

    This is from the path file. Is this correct?

    sqlite3 <Jukebox_Path>
    new_jukebox_update.sh <Jukebox_Path>
    imdb.sh <Jukebox_Path>
    mainjukebox.xml /home/srjgsql/
    genre_img(dir) /home/srjgsql/


    I don't know where /home/srjgsql/ directory is.
    Last edited by jsmiddleton4; 07-07-2012 at 11:39 PM.

  5. #255
    Join Date
    Dec 2009
    Location
    Canada (ON)
    Posts
    2,036

    Default

    Quote Originally Posted by jsmiddleton4 View Post
    Thanks. I'll try to figure that out this evening,

    Have a question.

    This is from the path file. Is this correct?

    sqlite3 <Jukebox_Path>
    new_jukebox_update.sh <Jukebox_Path>
    imdb.sh <Jukebox_Path>
    mainjukebox.xml /home/srjgsql/
    genre_img(dir) /home/srjgsql/


    I don't know where /home/srjgsql/ directory is.
    If you have a HDD installed in your player /home is probably the root of your HDD.

    Code:
    cd /
    ls -l
    should give you the answer you are looking for.

    Please use my PM is you want to talk anymore about the specific of SRJG as not to clutter this thread with a lot of Linux shell technical stuff.

    Snappy

  6. #256
    Join Date
    Jul 2012
    Posts
    15

    Default

    Will do.

    Just a quick question. The readme path document is just a document? It doesn't really set any thing?

    NAS drives exclusively.

  7. #257
    Join Date
    Jul 2012
    Posts
    15

    Default

    In case anyone happens upon this thread the fix for the genre images not showing up was in the genre language file. Had to add the missing genre jpg's to the language file. Works great now.

  8. #258
    Join Date
    Jun 2011
    Location
    Southern California
    Posts
    8

    Default

    Regarding db2html converter, the first instruction on the SRJG project page was to install the db2html converter downloaded from the project website. How does one do this on a mac?

    Craig

  9. #259
    Join Date
    Dec 2009
    Location
    Canada (ON)
    Posts
    2,036

    Default

    Quote Originally Posted by ckalem View Post
    Regarding db2html converter, the first instruction on the SRJG project page was to install the db2html converter downloaded from the project website. How does one do this on a mac?

    Craig
    Since myself and zozodesbois have been too busy to pakage the project in downloadable zip files you pretty much need a subversion client to download any of the files in the SRJG project. Before we put a package together we would like to fix some bugs and finish the documentation .... everything is in idle mode right now.

    Cheers !!!

  10. #260
    Join Date
    Jul 2012
    Posts
    15

    Default

    Anyone know if the step by step for making the genre thumbnails is located anywhere, templates, etc.? Who ever made the zip packs did a lot of work. Am hoping the steps and how they were made is available somewhere.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •