Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
"Missing TV ratings, will rescan"
07-22-2012, 01:43 AM
Post: #1
"Missing TV ratings, will rescan"
Hello,
I am running Yamj r3044 with Eversion r0173.
Using Ember Media Manager for tv shows.

Everytime Yamj scans I get this as an example:
The Andy Griffith Show S05E01 - Part 1 XML is missing TV rating, will rescan

In Ember I did add ratings to all the seasons and it does show up in the xml file.

What am I missing, what should I do next? I did search but found nothing.

Thanks,
James
Find all posts by this user
Add Thank You Quote this message in a reply
07-22-2012, 01:49 AM
Post: #2
RE: "Missing TV ratings, will rescan"
post up examples of what yamj has in the xml file and what ember is writing.
Find all posts by this user
Add Thank You Quote this message in a reply
07-22-2012, 03:45 PM
Post: #3
RE: "Missing TV ratings, will rescan"
(07-22-2012 01:49 AM)accident Wrote:  post up examples of what yamj has in the xml file and what ember is writing.
Hi accident,

It appears that just because I added the rating to the season doesn't mean anything to each episode (duh). It doesn't look like ember is pulling the ep. ratings from imdb.

Here is a section of the nfo created by ember:
PHP Code:
<?xml version="1.0" encoding="utf-8"?>
<episodedetails>
  <title>Opie Loves Helen</title>
  <aired>1964-09-21</aired>
  <rating>0</rating>
  <season>5</season>
  <episode>1</episode> 

here is a snippit of the beginning of the xml file yamj created:

PHP Code:
<?xml version="1.0" encoding="UTF-8"?>
<details>
   <movie isExtra="false" isSet="false" isTV="true">
      <id moviedb="thetvdb">77754</id>
      <id moviedb="imdb">tt0053479</id>
      <mjbVersion>2.7-SNAPSHOT</mjbVersion>
      <mjbRevision>3044</mjbRevision>
      <xmlGenerationDate>2012-07-21 17:22:49</xmlGenerationDate>
      <baseFilenameBase>The Andy Griffith Show S05E01</baseFilenameBase>
      <baseFilename>The Andy Griffith Show S05E01</baseFilename>
      <title>The Andy Griffith Show</title>
      <titleSort>Andy Griffith Show</titleSort>
      <originalTitle>The Andy Griffith Show</originalTitle>
      <year Year="1960-69">1964</year>
      <releaseDate>1960-10-03</releaseDate>
      <showStatus>Ended</showStatus>
      <rating>93</rating>
      <ratings>
         <rating moviedb="thetvdb">93</rating>
      </ratings> 
here is ep 5 of the xml:
PHP Code:
<file firstPart="5" lastPart="5" season="5" size="161514784" subtitlesExchange="NO"
               
title="Aunt Bee's Romance"
               
vod=""
               
watched="false">
            <
fileLocation>Z:\Movies\(123TV Shows\The Andy Griffith Show\Season 5\The Andy Griffith Show S05E05.mkv</fileLocation>
            <
fileURL>file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/Media/Movies/%28123%29%20TV%20Shows/The%20Andy%20Griffith%20Show/Season%205/The%20Andy%20Griffith%20Show%20S05E05.mkv</fileURL>
            
<fileTitle part="5">Aunt Bee's Romance</fileTitle>
            <airsInfo afterSeason="0" beforeEpisode="0" beforeSeason="0" part="5">5</airsInfo>
            <firstAired part="5">1964-10-19</firstAired>
            <filePlot part="5">An old beau of Aunt Bee comes to town to court her.</filePlot>
            <fileRating part="5">UNKNOWN</fileRating>
            <fileImageURL part="5">http%3A%2F%2Fthetvdb.com%2Fbanners%2Fepisodes%2F77754%2F257516.jpg</fileImageURL>
            <fileImageFile part="5">The%20Andy%20Griffith%20Show%20S05E05.videoimage.jpg</fileImageFile>
         </file> 
If I am reading this right the first section of the xml would be the season rating? Then "filerating" would be each episode rating?

Thanks,
James[/php]
Find all posts by this user
Add Thank You Quote this message in a reply
07-22-2012, 07:45 PM
Post: #4
RE: "Missing TV ratings, will rescan"
I'm not exactly sure what rating the yamj log file is referring to. I'm also not sure yamj looks for episode rating in nfo files. This one is a little rough because not too many people rate or have a way to rate each episode on thetvdb so most of them have no rating..

Do you have really aggressive recheck settings? what's your mindays set to?

This might be one that yamj really needs some tweaking for what to rescan for, episode ratings will probably never be found.
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to accident for this post
07-23-2012, 10:17 AM
Post: #5
RE: "Missing TV ratings, will rescan"
Looks like the NFO reader didn't recognise "0" as a valid rating and ignored it, hence why you get the constant recheck.

I've adjusted the code to accept 0 now and so you should get those ratings populated.

Note: This won't happen until the NFO files are re-read, so you might want to "touch" them all after updating to 3148

Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to Omertron for this post
07-23-2012, 02:58 PM
Post: #6
RE: "Missing TV ratings, will rescan"
Thank You so much!!!!

James
Find all posts by this user
Add Thank You Quote this message in a reply
07-23-2012, 04:04 PM
Post: #7
RE: "Missing TV ratings, will rescan"
Just built a new jukebox with r3148. That opened up a whole other can of worms...about 50% of movies return this error:
ERROR com.moviejukebox.writer.MovieNFOReader - MovieNFOReader: Failed parsing rating in NFO file: Madagascar (2005).nfo. Please fix it or remove it.

I looked in the nfo for the movie and sure enough there is no rating...no rating line in the nfo. The nfo's were all made via yanfoe in the last 2-3 years. Kind of weird.
PHP Code:
<?xml version="1.0" encoding="utf-8"?>
<!--YAMJ XML Generated by YANFOE Movies Edition (1.0) - 6/3/2010 2:37:07 PM-->
<movie>
  <id>tt0351283</id>
  <id moviedb="tmdb">953</id>
  <title>Madagascar</title>
  <year>2005</year>
  <releasedate>5/27/2005</releasedate>
  <votes>51977</votes> 


Is this an easy fix or should I start editing with yanfoe?

Thanks,
James
Find all posts by this user
Add Thank You Quote this message in a reply
07-24-2012, 12:36 PM
Post: #8
RE: "Missing TV ratings, will rescan"
If that's all the NFO file then it's wrong because it's missing the end tag "</movie>"

Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
07-24-2012, 05:53 PM
Post: #9
RE: "Missing TV ratings, will rescan"
Hi Omertron,
That was just a snippet of the nfo. It seems that for what ever reason yanfoe did not create the ratings line in some of the movie nfo's. Whether it was a few years ago and yanfoe didn't support it or the ratings listings had changed...I don't know what the reason was.
But running a batch file for all movie nfo's fixed the problem.

Thanks for all the help.
James
Find all posts by this user
Add Thank You Quote this message in a reply
07-24-2012, 07:36 PM
Post: #10
RE: "Missing TV ratings, will rescan"
Ok, committed a change to stop the wrong error message.
You can ignore the error as it doesn't actually cause any issues

Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Missing Cast and Writers from XML file crowesnest 1 435 03-03-2014 11:21 AM
Last Post: Omertron
  [YAMJ] AEON Wall Missing Video/Audio file Info Mooredownunder 15 1,336 12-01-2013 11:50 PM
Last Post: Mooredownunder
  [YAMJ] Now missing Cast, Directors, & Writers Auggie 20 2,105 10-25-2013 04:14 PM
Last Post: jslegers
  YAMJ & AEON - Missing blackground / buttons / etc samjaynes 1 723 08-17-2013 07:27 AM
Last Post: Omertron
Lightbulb TV episode plots missing doubledrat 5 807 06-15-2013 08:34 AM
Last Post: doubledrat
  [YAMJ 2.5-r2615] TV Extras missing ABoyNamedSue 30 6,499 06-12-2013 08:34 PM
Last Post: docbill
  How to add the Ratings icon to TV Season thumbnail OR Custom BOX Set Thumbnail lb_advent7088 0 875 03-01-2013 01:01 AM
Last Post: lb_advent7088
  Rescan and update movie (xml) when .watched is detected Danishdude 6 1,219 02-08-2013 03:45 PM
Last Post: Danishdude
  Problem with some TV shows --Missing seasons and season 1 duplicating yannickrose 6 1,195 01-23-2013 11:43 PM
Last Post: accident
  what are the best Certification settings for Australian Ratings? pahurley 2 732 01-12-2013 10:42 AM
Last Post: pahurley

Forum Jump: