New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG (3 Viewers)

disaster123

MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

    sure that's ok
     

    bnsaflsujt

    Portal Pro
    January 12, 2010
    60
    3
    Home Country
    United States of America United States of America
    Hi nicx,

    It is OK to create a task that will start the run.bat, if it only starts at system startup, and doesn't try to repeat over and over again without shutting down previous runs. If you were to make a task to run the run-loop.bat on startup, make sure that it doesn't keep trying to start more copies of it. You could achieve this same functionality by placing a shortcut to run.bat in the Startup folder in your startmenu.

    What I did was to create a task that does repeat itself every ~1-2 minutes, and executes the episodescanner.exe file. I also set it to not start the task it the task still has a running session from before. This task begins at system startup.

    Hope I helped!

    Sincerely,
    James
     

    nicx

    Portal Pro
    February 1, 2006
    387
    12
    Stuttgart
    Home Country
    Germany Germany
    ok now i configured a task for the episodescanner.exe which runs every 10 minutes from 0:00 in the night for 24 hours, i think this is enough :)

    thanks for your help :)

    nicx...
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    AW: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

    Hi Disaster and thanks again for your tool!

    I found two issues (yet ;) )

    1) you get an error message about a missing key, when you deactive TheTvDB:
    Code:
    # activate search on thetvdb.com
    $use_tv_tb = 0;
    --> shouldn't this be the opposite?

    2) When I run the tool with scheduled series (Heroes, Battlestar Galactica), I get an "unknown encoding" error:

    C:\Program Files (x86)\Team MediaPortal\episodescanner>run_debug.bat
    Cleaning the cache...
    deleting old Logfiles...

    --------------------------------------------------------------------------------
    --------
    use global TVDB API Key
    got Win32 Codepage:
    got resolved alias:
    using MySQL
    Recordingdir: X:\USB_Backup\Recording

    Serie: Battlestar Galactica

    Episode: Kein Weg zur³ck
    search on http://www.wunschliste.de/...
    Get xml/rss via ID 7908
    Unknown encoding '' at Backend/Wunschliste.pm line 91
    now please upload your log.txt to the forum and describe your problem
    Drücken Sie eine beliebige Taste . . .

    3) the log.txt doesn't contain the error message from screen -> you can't see the error ;)

    I think this can be fixed easy :)

    :D
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

    Hi Disaster and thanks again for your tool!
    I found two issues (yet ;) )
    1) you get an error message about a missing key, when you deactive TheTvDB:
    thanks - will be fixed in next version


    2) When I run the tool with scheduled series (Heroes, Battlestar Galactica), I get an "unknown encoding" error:

    C:\Program Files (x86)\Team MediaPortal\episodescanner>run_debug.bat
    Cleaning the cache...
    deleting old Logfiles...

    --------------------------------------------------------------------------------
    --------
    use global TVDB API Key
    got Win32 Codepage:
    got resolved alias:
    using MySQL
    Recordingdir: X:\USB_Backup\Recording

    Serie: Battlestar Galactica

    Episode: Kein Weg zur³ck
    search on http://www.wunschliste.de/...
    Get xml/rss via ID 7908
    Unknown encoding '' at Backend/Wunschliste.pm line 91
    now please upload your log.txt to the forum and describe your problem
    Drücken Sie eine beliebige Taste . . .

    3) the log.txt doesn't contain the error message from screen -> you can't see the error ;)

    I think this can be fixed easy :)

    :D

    strange are you running a german windows? Normally every localized windowsversion has a codepage - i need this for encoding / decoding of the german umlauts. But you Windowsversion does not seem to have a Codepage. Which version are you running?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    AW: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

    It's windows 7 x64 (see my system specs).

    I thought you try to get the encoding from the XML tag and there is no one.
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

    no it's not from XML - the XMLs are always utf8. I need this for example for MSSQL. I get the title results in MSSQL in the local WIndows encoding. Normally (and under all my Win7 installation x64 and x86) it is cp1252. Strange... mhm i've seen this only on english / us installations before.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    AW: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

    I'm using MySQL here. could this be the cause?
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    AW: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

    normally not as this is something which windows should provide in every case.

    But please try to redownload my tool - i've updated the zip and give that one a try.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    AW: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

    just downloaded from 1st post again, still same result
     

    Users who are viewing this thread

    Top Bottom