Kodi Community Forum

Full Version: [nfo, tvshow] episodedetails doesn't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[edit] Problem solved
I don't know how… I just reorganized my files removed the source and put it back again and now I have all my infos
Great !!!
PS : I don't know how (or if) I can edit my post to put [solved] on title, or even delete this post…[\edit]

Hi all,
I made a little python script to retrieve informations from MIT Open Course Ware (http://ocw.mit.edu/) and it works well, but when I use the nfo files generated and make a scan it works well with tvshow.nfo (I have the art and infos about the serie) but not for the episode details.
I precise that :
- Video files are named 1xNN ( for example "Lecture 1x01: Rate of Change.mp4")
- NFO files have the same same (for example "Lecture 1x01: Rate of Change.nfo") and are of course in the same directory
- NFO files are encoded in UTF8
I use XBMC 10.1 on Ubuntu 10.04 (Lucid)

When I scan for new content, nothing is found.
Strangely, when I click on "TV show information" and "Refresh" it says : «Locally stored information found. Ignore and refresh from internet ?» -> No, and then it tries to download but end up with «No info found».

So is this feature implemented ? (I saw it's not with nfo containing URLs) and if so why not telling it here : http://wiki.xbmc.org/index.php?title=Imp...V_Episodes

Or maybe a problem with my nfo file…
Are all field indispensable ?
Here is an example :
Code:
<episodedetails>
        <title>Lecture 1: Rate of Change</title>
        <rating>0</rating>
        <season>1</season>
        <episode>1</episode>
        <plot>Topics covered:: Derivatives, slope, velocity, rate of change
Instructor: Prof. David Jerison
</plot>
        <thumb>http://ocw.mit.edu/courses/mathematics/18-01-single-variable-calculus-fall-2006/video-lectures/lecture-1-derivatives/lec01.jpg</thumb>
        <playcount>0</playcount>
        <lastplayed></lastplayed>
        <credits></credits>
        <director></director>
        <aired>2006</aired>
        <premiered>2006</premiered>
        <studio>MIT</studio>
        <mpaa></mpaa>
        <epbookmark></epbookmark>
        <displayseason></displayseason>
        <displayepisode></displayepisode>
        <fileinfo>
          <streamdetails>
            <audio>
              <channels></channels>
              <codec></codec>
            </audio>
            <video>
              <aspect></aspect>
              <codec></codec>
              <durationinseconds></durationinseconds>
              <height></height>
              <language>eng</language>
              <longlanguage>English</longlanguage>
              <scantype></scantype>
              <width></width>
            </video>
          </streamdetails>
        </fileinfo>
    </episodedetails>

My xbmc.log when I scan for new files :
Code:
18:33:44 T:2819681136 M:1625464832  NOTICE: VideoInfoScanner: Starting scan ..
18:33:44 T:2819681136 M:1625464832  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00

My xbmc.log when I refresh TV show information :
Code:
18:35:38 T:2735909744 M:1582231552   ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/Video/Fanart/cdebd8f6.tbn
18:35:38 T:2735909744 M:1582231552   ERROR: Texture manager unable to load file: special://masterprofile/Thumbnails/Video/c/cdebd8f6.tbn
Hmmm… seems there is a problem here, my thumbs are from the net…
(in fact no, I thought it was because of <thumb>http://ocw.mit.edu/courses/mathematics/18-01-single-variable-calculus-fall-2006/video-lectures/lecture-1-derivatives/lec01.jpg</thumb> and removed it, but same result…Wink

I wanted to give you my python script but it's too long… I'll put it in the third party tools section when it works…

Thanks for your help. I spent few (fun ^_^) hours on this script and I'd really like to have it work…
And long live XBMC it's truly a marvelous soft

Xinxang

PS: there is a plugin to watch the MIT courses here : https://github.com/jbeluch/xbmc-opencourseware but it doesn't work (maybe I'll try to fix it) and what I want is to have the files locally.

PPS : Maybe I could write my infos directly in videodb.xml from a backup and then import it. What do you think ? or maybe writing directly in the database (I already played a bit with it, not much, just to have a look…Wink
Or convert my script into a scrapper… I don't know… I can get the infos so there should be a way to make XBMC understand them…