TVTome Parser - Revived - now TV.com - Beta available (1 Viewer)

Inker

Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    lol, helza....im kinda laughing right now

    It must not like you or something.......that very same filename worked for me too.......this time i double checked that i have a fresh 1.2 installation with the rar seppie posted, so we should have the exact same configuration. Also tried again both on a per file basis and doing a folder scan.

    Maybe it has something to do with the number of files in a folder when doing a scan....can you tell me how many files you have in there?

    PM me here or on irc (im in there most of the time.......even if im away from the pc) wth as much detail as possible on what you did, and if possible, ur exact file/folder structur.......hard to track if we cant reproduce the problem

    perhaps somebody else could try this as well.......either seppie and me are very lucky that it works for us, or it doesnt like helza, lol


    Thnx again for your help
     

    Helza

    Portal Pro
    April 29, 2004
    55
    0
    Those 2 folders i tryed both had only 1 file in it.. (fighting a big case of hd shortage currently, new hd should arrive next week)

    I'm ofcourse not really running a default setup as most people have, running everything on a Windows 2003 server :)

    I just retrieved after restarting MP and it worked without a problem..
    Must have been that annyoing "been running mp more then a couple of hours thing, totally eating up the memory" thing..


    uh folder structure:
    MP Folder: F:\MediaPortal\

    My Video's setup:
    F:\-=Series=-\ (heheh from the good old "jees look at me i'm so cool running my own ftp server on the internet")
    F:\-=Movies=-\
    F:\WuTemp\


    With Andromeda S05, Charmed S07, 24 S04, CSI Miami S03 and a bunch of others.. 24 went without any problems.. with all episodes in it currently available, so i guess it might have something to do with only 1 file available in the folder?

    ok, what i did this time:
    Start MP, watch a movie, went to my video's retreived info for the folder Charmed (succefully), looked at the description.. went back and checked tvtome on the folder CSI Miami S03 (again only 1 file in it..) Csi Miami - 3x22 - Vengeance Hdtv Lol.avi

    and i got the stopped doing anything screen (like Charmed the first time)
    but now with a new message... (might be VERY usefull if the pluging would show a quick error and then let me go back watch something instead of staying indefinetly on the retreiving screen.. (with escape i can go back btw.. but unless i check the log file i dont know if its still retreiving or it went wrong.. sniff)

    Here comes the new error message:
    14-5-2005 17:20:46 Now attempting to download a fresh version of this guide from TVTome...
    14-5-2005 17:20:46 Trying to get Episode Guide for CSI: Miami Season 3 from TVTome....
    14-5-2005 17:20:46 Error downloading guide...
    14-5-2005 17:20:46 The given path's format is not supported.
    14-5-2005 17:20:47 exception: Object reference not set to an instance of an object. Databases at MediaPortal.Video.Database.TVTome.downloadGuide(TVTomeUrl url, Int32 season)
    at MediaPortal.Video.Database.TVTome.getEpisodeInfo(String& filename, TVTomeUrl& url, Int32& season, Int32& ep, IMDBMovie& details)
    at MediaPortal.Video.Database.TVTome.GetDetails(String filename, TVTomeUrl url, IMDBMovie& movieDetails)
    at MediaPortal.GUI.Video.GUIVideoFiles.ShowTVTome(Int32 iidMovie, String strMovie, String strFile, String strFolder, Boolean bFolder)
    at MediaPortal.GUI.Video.GUIVideoFiles.OnTVTomeInfo(Int32 iItem)
    at MediaPortal.GUI.Video.GUIVideoFiles.OnShowContextMenu()
    at MediaPortal.GUI.Library.GUIWindow.OnAction(Action action)
    at MediaPortal.GUI.Video.GUIVideoBaseWindow.OnAction(Action action)
    at MediaPortal.GUI.Video.GUIVideoFiles.OnAction(Action action)
    at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)
    at MediaPortalApp.OnAction(Action action)
    14-5-2005 17:20:48 exception:confused:ystem.Exception: exception occured ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.Video.Database.TVTome.downloadGuide(TVTomeUrl url, Int32 season)
    at MediaPortal.Video.Database.TVTome.getEpisodeInfo(String& filename, TVTomeUrl& url, Int32& season, Int32& ep, IMDBMovie& details)
    at MediaPortal.Video.Database.TVTome.GetDetails(String filename, TVTomeUrl url, IMDBMovie& movieDetails)
    at MediaPortal.GUI.Video.GUIVideoFiles.ShowTVTome(Int32 iidMovie, String strMovie, String strFile, String strFolder, Boolean bFolder)
    at MediaPortal.GUI.Video.GUIVideoFiles.OnTVTomeInfo(Int32 iItem)
    at MediaPortal.GUI.Video.GUIVideoFiles.OnShowContextMenu()
    at MediaPortal.GUI.Library.GUIWindow.OnAction(Action action)
    at MediaPortal.GUI.Video.GUIVideoBaseWindow.OnAction(Action action)
    at MediaPortal.GUI.Video.GUIVideoFiles.OnAction(Action action)
    at MediaPortal.GUI.Library.GUIWindowManager.OnAction(Action action)
    at MediaPortalApp.OnAction(Action action)
    --- End of inner exception stack trace ---
    at MediaPortalApp.OnAction(Action action)
    at MediaPortal.GUI.Library.GUIWindowManager.DispatchThreadMessages()
    at MediaPortalApp.FrameMove()
    at MediaPortal.D3DApp.Run()

    I'm going to try some multi file folder now :).. maybe that helps.. or its might be running the plugin 2 times... or something :)

    I just keep trying..


    update: oke retryed it Lost (2 files) and it worked, went back to CSI miami.. and now it worked without a problem..
    I guess it really doesn't like me :)

    I try CSI NY ... it gives that same error again, i retry and now it works perfectly for CSI NY..

    Only Andromeda was that one that crashed MP (until the descripton for this episode was added).. this latest error i can just escape and retry succefully..
     

    SePPiE

    Portal Pro
    December 6, 2004
    66
    0
    The Netherlands
    helza, first off: thnx for doing all this testing.
    Second, I'm gonna look into the code tomorrow to see what could cause all this.
    This is exactly why beta testing is important.. Inker and I have been testing for a while already but haven't seen these problems yet, so this is valuable stuff right here.

    Indeed, the search is not multithreaded or anything. Actually, the TVTome is not much different from the IMDB implementation in MP.
    I'll see if I can do the internet related stuff (the stuff wich can time-out) in a seperate thread. That would make MP responsive, and not hang on the dialog box.
    Also, I'll put some more detailed logging in there, so we can see way more in the log to see where exactly it goes wrong.

    If other people would also like to help out and see how the TVTome parser stuff works for them, I would appreciate it big-time.
     

    Smirnuff

    Portal Pro
    December 7, 2004
    630
    3
    United Kingdom
    I'll see if I can do the internet related stuff (the stuff wich can time-out) in a seperate thread

    SePPiE & Inker, if you are thinking of doing the lookup in a background thread please consider using the thread pool, as the app grows and more and more background work is done the thread pool should help prevent the application becoming too thread heavy. ThreadPool.QueueUserWorkItem is your friend. It'll be even more fitting if you are using the asynchronous socket methods.

    Cheers,
    Smirnoff.
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Helza said:
    update: oke retryed it Lost (2 files) and it worked, went back to CSI miami.. and now it worked without a problem..
    I guess it really doesn't like me :)

    I try CSI NY ... it gives that same error again, i retry and now it works perfectly for CSI NY..

    Helza, I think I found out... :)

    I also just noticed that sometimes it just hangs there (not doing anything) but you can press escape to go back, then if you try the very same file (or folder) immediatly again it will work (at least it always did for me).

    I think it has somethign to do with automatically mapping the showname to a show (so it can skip searching in the future)....but im not sure yet


    BTW: I'm trying to convince Seppie to release an update soon, with some bugfixes and a few enhancements (actors, runtime, genre, etc)
    wish me luck hehe :)
     
    A

    Anonymous

    Guest
    TV Tome tab present - can't get it to parse/search

    I'm guessing it is user error on my part ...

    I did not start with the external program. I started directly with the RAR file enhancement / update for MP 0.1.2.0.

    The TV Tome tab appears under "Movies" configuration. I had my TV Shows in subdirectories and thought that was my problem so I moved the MPG files to a flat directory. Still not luck. My file names are as follows:

    Star_Trek_Enterprise-S03E18-Title_of_show.mpg

    I created a name->URL mapping as follows:

    Star_Trek_Enterprise -> /Enterprise
    StarTrekEnterprise -> /Enterprise
    Star Trek Enterprise -> /Enterprise

    When I run the scan for the TVShows directory, it shows searching IMDB, OFDB, FRDB and finds nothing. It does not appear to seach TVTome.

    Is my mapping definitions incorrect ?
    Is TVTome seached but not shown in the processing ?
    Is "scan" the incorrect mechanism to get the information ?
    or something completely different ?
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Scan is not the correct way.

    You have to start up MP and bring up the menu (F9) on the folder (or file) you wish to scan. There will be an option called TVTome.

    Hope this is what is the problem, your filesnames should work.
     

    Helza

    Portal Pro
    April 29, 2004
    55
    0
    I was thinking about this plugin and I like it, however wouldn't it be beter as a seperate plugin/module called My Series...
    This way Scan and Movie lookup could just be replaced with the TVtome code...

    If you use different views then the series wouldn't show up anymore either, so it wouldn't clutter the list.. :) The views show all files/directoryes which has meta data, so also the new Series metadata..

    please think about it (if you haven't already)

    You would have no more problems trying to figure out if its a movie or a real serie... no more duplicate lookup function for IMBD and TvTome next to each other .. you could just replace it
     

    Users who are viewing this thread

    Top Bottom