Rikitik / project-valerie

Automatically exported from code.google.com/p/project-valerie
0 stars 0 forks source link

Naming-convention for TV-Shows? #164

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi there,

though i really like Project Valerie for my movie collection I've got severe 
problems with my TV show collection: none of my shows is recognized and hence 
all the episodes appear in the "failed sync" list.

Here's my current setup:
=========================
(1) in the sync settings I entered the two folders containing videos: 
(a) /hdd/videos/serien
(b) /hdd/videos/filme

(2) the "serien" folder itself contains a new folder for each show, e.g.
"Akte X"
"Criminal Minds"
"Supernatural"
...

(3) for each show all episodes are contained in their corresponding show folder 
and named as follows (example):
"Akte_X_s01e01_title_of_episode.HQ.mkv"

What happens:
==============
During sync all episodes will show up in the "failed sync" list. Additionally 
no show is listed in the TV Show menu of Project Valerie - only movies are 
visible and recognized (mostly) correctly.

What did I already try:
========================
- replace the "_" in the filenames of each episode by " "
- drop "title of episode" completely from the filenames
- delete PV database files and make a complete new sync
- some more tries that I don't remember any more :-)

Questions:
===========
(1) how should the folder structure and naming for TV shows should look like in 
order to make it easy for PV to detect the shows and episodes correctly?
(2) is there another method of getting a logfile (besides the sometime 
mentioned way of killing E2 and restart PV again)?
At least for the sync stuff it would be very helpful to have a logfile - for 
example one in each directory specified in the SYNC settings containing some 
more information on what went wrong for the files snacced in that directory.

Many thanks in advance for any hint of what went wrong...

Cheers, Erik

Original issue reported on code.google.com by erik.for...@gmail.com on 12 May 2011 at 5:08

GoogleCodeExporter commented 8 years ago
Forgot to mention that the two folders "serien" and "filme" are tagged 
correctly in the sync manager (i.e. "fime" tagged with "MOVIE" and "serien" 
tagged with "TV").

Original comment by erik.for...@gmail.com on 12 May 2011 at 5:15

GoogleCodeExporter commented 8 years ago
try that: https://code.google.com/p/project-valerie/wiki/Ressources#Log_Files
and append it to the issue.

Original comment by andreass...@googlemail.com on 12 May 2011 at 6:53

GoogleCodeExporter commented 8 years ago
Hi,

please find attached the log. Interesting part seems to be this one:

11:23 pyvalerie::run 
############################################################
11:23 pyvalerie::run (125/213)
11:23 pyvalerie::run ######
11:23 pyvalerie::run   -> /hdd/movie/Serien/Akte X
    Akte_X_s04e03_Teliko.HQ.mkv
11:23 pyvalerie::run TYPE: TV
11:23 MediaInfo::parse [pre] - akte_x_s04e03_teliko.hq
11:23 MediaInfo::parse [pre] <_sre.SRE_Pattern object at 0x1c6f340> -->  
11:23 MediaInfo::parse  akte_x_s04e03_teliko.hq
11:23 MediaInfo::parse [pre] <_sre.SRE_Pattern object at 0x1b5b890> -->  
11:23 MediaInfo::parse  akte_x_s04e03_teliko hq
11:23 MediaInfo::parse [pre] <_sre.SRE_Pattern object at 0x1b5e320> -->  
11:23 MediaInfo::parse  akte_x_s04e03_teliko hq
11:23 MediaInfo::parse [pre] <_sre.SRE_Pattern object at 0x1b5e4a0> -->  
11:23 MediaInfo::parse  akte_x_s04e03_teliko hq
11:23 MediaInfo::parse [pre] <_sre.SRE_Pattern object at 0x1131b10> -->  
11:23 MediaInfo::parse  akte_x_s04e03_teliko hq
11:23 MediaInfo::parse [pre] <_sre.SRE_Pattern object at 0x1a06920> -->  
11:23 MediaInfo::parse  akte_x_s04e03_teliko hq
11:23 MediaInfo::parse [pre] <_sre.SRE_Pattern object at 0x19dd7a0> -->  
11:23 MediaInfo::parse  akte_x_s04e03_teliko hq
11:23 MediaInfo::parse [pre] <_sre.SRE_Pattern object at 0xbbbbd0> -->  
11:23 MediaInfo::parse  akte_x_s04e03_teliko hq
11:23 MediaInfo::parse [pre] <_sre.SRE_Pattern object at 0x19dde80> -->  
11:23 MediaInfo::parse  akte_x_s04e03_teliko hq
11:23 MediaInfo::parse [pre] <_sre.SRE_Pattern object at 0x19f9430> -->  
11:23 MediaInfo::parse  akte_x_s04e03_teliko hq
11:23 MediaInfo::parse [pre] <_sre.SRE_Pattern object at 0x1adf460> -->  
11:23 MediaInfo::parse  akte_x_s04e03_teliko hq
11:23 MediaInfo::parse [pre] <_sre.SRE_Pattern object at 0x19f9910> -->  
11:23 MediaInfo::parse  akte_x_s04e03_teliko hq
11:23 MediaInfo::parse :-1: akte_x_s04e03_teliko hq
11:23 MediaInfo::parse :0: akte_x_s04e03_teliko hq
11:23 MediaInfo::parse [[[ akte_x_s 04 e 03 _teliko hq
11:23 MediaInfo::parse :2: akte_x_s04e03_teliko hq -1 -1 -1
11:23 MediaInfo::parse rpost: akte_x_s04e03_teliko hq
11:23 MediaInfo::parse rpost:: akte_x_s04e03_teliko hq
11:23 MediaInfo::parse eof: akte_x_s04e03_teliko hq
11:23 getText -> (0) http://m.imdb.com/find?q=akte_x_s04e03_teliko hq
11:23 getText <- <type 'unicode'> http://m.imdb.com/find?q=akte_x_s04e03_teliko 
hq
11:23 MobileImdbComProvider::getMoviesByTitle <- None (self.testNoResults in 
html)
11:23 pyvalerie::run 
############################################################

PV tries to query the show from IMDB using this string:

"akte_x_s04e03_teliko hq"

The "hq" doesn't seem to cause problems since even if I manually query by 
removing the "hq" no result is returned.

Original comment by erik.for...@gmail.com on 13 May 2011 at 9:46

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,

in the meanwhile I was able to solve this issue: it seems like the problem was 
caused by the "_" character I used instead of the blank char.

By adding the following line to the /hdd/valerie/pre.conf I was now able to 
resync all episodes correctly:

"_"=" "

Though I'm not quite sure, if the syntax is correctly (I'll have to do some 
further readings regarding RegExp) it seems to do the trick - but perhaps this 
"_" by " " replacement would be a candidate to be contained in the default 
pre.conf?

Anyhow: thanks for the hint regarding the logfiles!

Cheers, Erik

Original comment by erik.for...@gmail.com on 14 May 2011 at 10:48

GoogleCodeExporter commented 8 years ago
Hi Erik,
your RegEx could look like "/_/g"=" "
checked with: http://gskinner.com/RegExr/

Original comment by andreass...@googlemail.com on 14 May 2011 at 11:40

GoogleCodeExporter commented 8 years ago
Hi Andreas,

thanks for the tip regarding the regular expression - and also for the great 
link to test regular expressions! :-)

Cheers, Erik

Original comment by erik.for...@gmail.com on 15 May 2011 at 5:19

GoogleCodeExporter commented 8 years ago
Hi Erik,
did they work? I did´t test them :)

Original comment by andreass...@googlemail.com on 15 May 2011 at 7:04

GoogleCodeExporter commented 8 years ago
Hi Andreas,

well, actually because of issue #168 I currently can't give it a try, but I 
hope I can get PV up and running again soon :-)

=> Keep you posted...

Thanks & Cheers, Erik

Original comment by erik.for...@gmail.com on 16 May 2011 at 4:49

GoogleCodeExporter commented 8 years ago
Any update?
Confirmation is needed before we add this line to the repository.

Original comment by schischu65 on 22 May 2011 at 11:24

GoogleCodeExporter commented 8 years ago
The RegExp provided by Andreas seems to work fine. I just checked it by
- deleting my database through the SyncManager menu
- adding the RegExpr provided by Andreas in my /hdd/valerie/pre.conf

After complete resync Akte X now gets recognized fine and - more important - 
there seems to be no impact to the rest of my collection.

Original comment by erik.for...@gmail.com on 22 May 2011 at 1:11

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r717.

Original comment by `` on 30 May 2011 at 4:25