Media Companion
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Media Companion

Discussion and development board for the program Media Companion.
 
HomeHome  SearchSearch  RegisterRegister  Log inLog in  

 

 Numbers in TV show titles

Go down 
2 posters
AuthorMessage
jmoyer01
New User
New User



Posts : 2
Join date : 2010-04-02

Numbers in TV show titles Empty
PostSubject: Numbers in TV show titles   Numbers in TV show titles Icon_minitimeFri Apr 02, 2010 8:37 pm

Trying to scrape from TVDB yields strange results or errors if the television show in question has a number in its title. Some examples of what I've encountered.
(My Folder structure always follows this pattern O:\TV\Show Name\1\101 - episode name.avi)

30 Rock:
A few episodes are scraped but all are listed in season 2 with mismatched titles. A successful workaround has been to rename the folder to O:\TV\Thirty Rock

Sealab 2021:
Scraping returns no results. Log reveals that every episode is 20x21 and reports not found on TVDB or TVDB is down.

Doctor Who (2005)
Same as above with every episode listed as 20x05 and not found.
Obvious workaround in both cases is to remove the numbers from the titles.
O:\TV\Sealab
O:\TV\Doctor Who

Apologies if this has already been discussed and hope these workarounds might help others who are having the same difficulties.
Back to top Go down
StormyKnight
VIP
VIP



Posts : 556
Join date : 2008-10-08
Location : Australia

Numbers in TV show titles Empty
PostSubject: Re: Numbers in TV show titles   Numbers in TV show titles Icon_minitimeSat Apr 03, 2010 2:20 am

The issue you have is that the default regex works left to right & over the whole path. When it find the first match it will return that so if the numbers fall into a format used by the season & episode recognition, they will be returned first.

I see you are using the 101 format for Season/Episode. If you where to use S01E01 format or 1x01 format this would avoid your issue since both of these formats are check before the 101 type.

Alternatively, you can change the regex to work right to left......

Have a look at this post I put up a little while ago.

https://billyad2000.darkbb.com/general-discussion-f2/a-better-regex-t936.htm

It details the regex changes required to get this outcome.

Cheers
Back to top Go down
jmoyer01
New User
New User



Posts : 2
Join date : 2010-04-02

Numbers in TV show titles Empty
PostSubject: Re: Numbers in TV show titles   Numbers in TV show titles Icon_minitimeMon Apr 05, 2010 5:07 pm

StormyKnight wrote:
. If you where to use S01E01 format or 1x01 format this would avoid your issue since both of these formats are check before the 101 type.

Thanks! I plugged in some xs and it worked great!
Back to top Go down
Sponsored content





Numbers in TV show titles Empty
PostSubject: Re: Numbers in TV show titles   Numbers in TV show titles Icon_minitime

Back to top Go down
 
Numbers in TV show titles
Back to top 
Page 1 of 1
 Similar topics
-
» Error with 3 digit episode numbers
» no option to scrape new titles in 3.093?
» nfo files created properly, but show doesnt show in the main browser.
» Cannot scrape English Titles Only
» Alternate titles

Permissions in this forum:You cannot reply to topics in this forum
Media Companion :: Media Companion :: Bug Discussion-
Jump to: