MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » Support » Electronic Program Guide


Reply
 
LinkBack Thread Tools Display Modes
Old 2010-01-14, 15:54   #1 (permalink)
MP Donator
 
Join Date: May 2008
Age: 28
Posts: 1,956
Thanks: 75
Thanked 196 Times in 91 Posts

Country:

My System

Improvement Suggestion - Done New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

Hi!

I used the whole day to "upgrade" my episodescanner to support 4TR and non german languages. So here is the brand NEW version.

My Episodescanner is a little command line utility that scans your schedules and then adds episodenumber and seriesnumber to the relevant EPG entries. So from now on you can also manager your seriesrecordings within MP-TVSeries.

This runs since 9 month on my tv-server but please consider this still as BETA.

Features:
- adds for all planned schedules episodenumber and seriesnumber to EPG
- caches all grabbed information so that there is no need to rescan the backend database
- supported Backends: thetvdb (international), Wunschliste (only German), Fernsehserien (only German)
- a lot more

Requirements:
- min. MediaPortal 1.1.0 or min. 4TR 1.4
- internet connection

Changelog:
26.02.10 new features: 1.) remove files from recording db if they exist in tvseries 2.) substitutions for specific strings
21.01.10 new features: 1.) execute an external program every X hours 2.) optimize MySQL DB every X hours
17.01.10 fixed: disabling of thetvdb does not work / windows versions without charsetencoding should now work
14.01.10 added 4TR support + other languages + bug fixes
10.07.09 added MySQL support
19.07.09 added Wunschliste as backend
01.07.09 initial release

Installation:
1. download: (Version 26.02.2010) episodescanner.zip
2. extract it where you want - but on the system where tv-server or 4tr runs
3. rename config.smaple.txt to config.txt and open it in a text editor
4. configure it like you want - especially the MySQL / MSSQL part
5. start run_once.bat to check if everything is OK
6. if you want add run_loop.bat to autostart folder - so that it runs the whole time and rescans your DB
7. have fun and reconfigure your recording settings to support episodenumber and seriesnumber
f.e.:
TV-Server Setup:
Recording Settings => Custom Paths and Filenames => Recording Series => Filename:
%title%\%title% - (%name%) S%series%E%episode% - %date% - %start%

the rule for mp-tvseries is then:
MP Setup:
Plugins => MP-TV Series => Config => Import => Parsing Expressions =>
^.*?\\(?<series>.*?) - \((?<title>.*?)\) S(?<season>[0-9]+?)E(?<episode>[0-9]+?) - [0-9]+-[0-9]+-[0-9]+ - [0-9]+_[0-9]+\.(?<ext>[^.]*)$

If you have any problems:
- please start run_debug.bat and attach your log.txt file here in the forum

Thanks!

Stefan
__________________
IRSS with full Imon Support (all buttons working)
MP Disaster Edition 1.1.0 SVN
- NEW recording option weekly everytime on channel X
- option to deactivate normal home and use only basic home
- comskip network client support
- much more
Episodescanner: adds series and episodenumbers to your MP EPG or 4TR EPG

Last edited by disaster123; 2010-02-27 at 08:44..
disaster123 is offline   Reply With Quote
5 Users Thank You:
Old 2010-01-14, 16:08   #2 (permalink)
Portal Member
 
Join Date: Jan 2010
Posts: 43
Thanks: 4
Thanked 0 Times in 0 Posts

Country:

My System

Default Re: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

Thank you so much again for the tool. Question however: is this updated from the one we worked on to allow for permutations in the name such as "Vs." and "versus"?

EDIT:
Correction. This almost is working. The 4TR DB only has single digit season/episode numbers in it if they are less than 10, instead of double digit. Will this effect MP-TV series?

Last edited by bnsaflsujt; 2010-01-14 at 16:11.. Reason: Add Edition
bnsaflsujt is offline   Reply With Quote
Old 2010-01-14, 16:16   #3 (permalink)
MP Donator
 
Join Date: May 2008
Age: 28
Posts: 1,956
Thanks: 75
Thanked 196 Times in 91 Posts

Country:

My System

Default AW: Re: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR E

Quote:
Originally Posted by bnsaflsujt View Post
Thank you so much again for the tool. Question however: is this updated from the one we worked on to allow for permutations in the name such as "Vs." and "versus"?
It is newer than yours - but it does not contain permutations. This is a little bit complex and i've to look how i can solve this.

Quote:
Correction. This almost is working. The 4TR DB only has single digit season/episode numbers in it if they are less than 10, instead of double digit. Will this effect MP-TV series?
No it hasn't => EpisodeNumber => int(11) this is a lot more than one digit :-)
__________________
IRSS with full Imon Support (all buttons working)
MP Disaster Edition 1.1.0 SVN
- NEW recording option weekly everytime on channel X
- option to deactivate normal home and use only basic home
- comskip network client support
- much more
Episodescanner: adds series and episodenumbers to your MP EPG or 4TR EPG
disaster123 is offline   Reply With Quote
Old 2010-01-14, 16:20   #4 (permalink)
Portal Member
 
Join Date: Jan 2010
Posts: 43
Thanks: 4
Thanked 0 Times in 0 Posts

Country:

My System

Default Re: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

Hmmm.. Maybe I should elaborate. For a show I have: Frasier. Your tool correctly downloaded season 9 episode 11, but when it was named, it only output s9e11 instead of s09e11. See what I mean? I was surprised, the recording did show up in MP-TV series, but it did not add any metadata to it. It just has the file name, Title, season, and episode number. For some reason, it will not scrape the database for the info for it. I did click on update infor on the online tab.
bnsaflsujt is offline   Reply With Quote
Old 2010-01-14, 16:29   #5 (permalink)
MP Donator
 
Join Date: May 2008
Age: 28
Posts: 1,956
Thanks: 75
Thanked 196 Times in 91 Posts

Country:

My System

Default AW: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

ah OK 9 is correct there are no leading zeros. I also have all my files named S2E4 and so on and they're grabbed by MP TVSeries correctly.
__________________
IRSS with full Imon Support (all buttons working)
MP Disaster Edition 1.1.0 SVN
- NEW recording option weekly everytime on channel X
- option to deactivate normal home and use only basic home
- comskip network client support
- much more
Episodescanner: adds series and episodenumbers to your MP EPG or 4TR EPG
disaster123 is offline   Reply With Quote
Old 2010-01-14, 16:31   #6 (permalink)
Portal Member
 
Join Date: Jan 2010
Posts: 43
Thanks: 4
Thanked 0 Times in 0 Posts

Country:

My System

Default Re: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

Hmmm.. Any ideas why the recording is picked up by MP-TV series, it lists it in the correct show, season, and has the place for it but everything is blank? Does it only scrape info after a recording is done?
bnsaflsujt is offline   Reply With Quote
Old 2010-01-14, 16:32   #7 (permalink)
MP Donator
 
Join Date: May 2008
Age: 28
Posts: 1,956
Thanks: 75
Thanked 196 Times in 91 Posts

Country:

My System

Default AW: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

no sorry - you should ask mp tveries dev.
__________________
IRSS with full Imon Support (all buttons working)
MP Disaster Edition 1.1.0 SVN
- NEW recording option weekly everytime on channel X
- option to deactivate normal home and use only basic home
- comskip network client support
- much more
Episodescanner: adds series and episodenumbers to your MP EPG or 4TR EPG
disaster123 is offline   Reply With Quote
Old 2010-01-14, 17:01   #8 (permalink)
Portal Member
 
Join Date: Jan 2010
Posts: 43
Thanks: 4
Thanked 0 Times in 0 Posts

Country:

My System

Default Re: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

After a little digging, I found out that it is theTVDB.com website that is down, so once it gets back up, I should get my info! No problems here!
bnsaflsujt is offline   Reply With Quote
Old 2010-01-14, 17:48   #9 (permalink)
MP Donator
 
Join Date: May 2008
Age: 28
Posts: 1,956
Thanks: 75
Thanked 196 Times in 91 Posts

Country:

My System

Default AW: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

;-)
__________________
IRSS with full Imon Support (all buttons working)
MP Disaster Edition 1.1.0 SVN
- NEW recording option weekly everytime on channel X
- option to deactivate normal home and use only basic home
- comskip network client support
- much more
Episodescanner: adds series and episodenumbers to your MP EPG or 4TR EPG
disaster123 is offline   Reply With Quote
Old 2010-01-15, 16:40   #10 (permalink)
Portal Member
 
Join Date: Feb 2006
Location: Stuttgart
Age: 33
Posts: 255
Thanks: 6
Thanked 4 Times in 4 Posts

Country:

My System

Default Re: New Tool: episodescanner - adds series and episodenumbers to your MP or 4TR EPG

hi disaster123,

your tool is running great here, thanks! what do you think is the best option to run this in the background? i created a task which starts on system start for the loop-batch. is this ok?

nicx...
nicx is offline   Reply With Quote
Reply

Bookmarks

Tags
4tr, adds, epg, episodenumbers, episodescanner, series, tool

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Neues Tool: Episodescanner (fügt Seasonnr. und Episodennr. zur Datenbank hinzu) disaster123 Plugins & Erweiterungen 89 2010-01-15 20:02
series meta tag tv series v2.3.3517.1 and St MP 0.8 juro StreamedMP 5 2009-09-27 12:03
Rename Tool that adds season ep #'s? billqs My TVSeries 6 2009-02-27 21:37
MP recording or 4TR: pros and cons? kkendall General Support 56 2009-01-24 00:03
MP tv series configuration tool wont start ThijsJC My TVSeries 3 2008-12-29 10:04


All times are GMT +1. The time now is 02:56.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden