chenqingyu / auto-sub

Automatically exported from code.google.com/p/auto-sub
0 stars 0 forks source link

Wanted subtitles are added twice to the wanted list #192

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Let auto sub fill the wanted list
2. Some subtitles are added twice. One with all information in the fields and 
the other one with all fields set to unknown.
3. When a subtitle is available two emails are sent to notify a subtitle has 
been downloaded

What is the expected output? What do you see instead?

Every wanted subtitle should be added one time to the wanted list, so only one 
mail is send when a subtitle is downloaded.

What version of the product are you using? On what operating system?

0.5.6 and 0.5.7 both have the problem

Please provide any additional information below.

Some wanted subitles are added twice, so two emails are sent when a subtitle is 
available. Auto sub is running on a qnap nas(linux) with python 2.7.3 A 
screenshot of the problem has been added too.

Below you can find the log file, no errors are thrown.

Log file:

2013-05-14 09:39:01,483 INFO  scanDir: Dutch subtitle wanted for 
Hawaii.Five-0.2010.S03E23.720p.HDTV.X264-DIMENSION.mkv and added to wantedQueue
2013-05-14 09:39:01,383 INFO  scanDir: Dutch subtitle wanted for 
Person.of.Interest.S02E22.720p.HDTV.X264-DIMENSION.mkv and added to wantedQueue
2013-05-14 09:39:01,191 INFO  scanDir: Dutch subtitle wanted for 
Revolution.2012.S01E17.720p.HDTV.X264-DIMENSION.mkv and added to wantedQueue
2013-05-14 09:39:01,165 INFO  scanDir: Dutch subtitle wanted for 
Revenge.S02E21.1080p.WEB-DL.DD5.1.H.264-KiNGS.mkv and added to wantedQueue
2013-05-14 09:39:01,161 INFO  scanDir: Dutch subtitle wanted for 
Revenge.S02E22.1080p.WEB-DL.DD5.1.H.264-KiNGS.mkv and added to wantedQueue
2013-05-14 09:39:01,113 INFO  scanDir: Dutch subtitle wanted for 
Nikita.S03E21.1080p.WEB-DL.DD5.1.H.264-KiNGS.mkv and added to wantedQueue
2013-05-14 09:39:01,090 INFO  scanDir: Dutch subtitle wanted for 
Defiance.S01E05.720p.HDTV.x264-EVOLVE.mkv and added to wantedQueue
2013-05-14 09:39:01,013 INFO  scanDir: Dutch subtitle wanted for 
Elementary.S01E22.Risk.Management.1080p.WEB-DL.DD5.1.H.264-ECI.mkv and added to 
wantedQueue
2013-05-14 09:39:01,010 INFO  scanDir: Dutch subtitle wanted for 
Elementary.S01E21.A.Landmark.Story.1080p.WEB-DL.DD5.1.H.264-ECI.mkv and added 
to wantedQueue
2013-05-14 09:39:00,964 INFO  scanDir: Dutch subtitle wanted for 
Revolution.2012.S01E17.720p.HDTV.X264-DIMENSION.mkv and added to wantedQueue
2013-05-14 09:39:00,913 INFO  scanDir: Dutch subtitle wanted for 
Revenge.S02E21.1080p.WEB-DL.DD5.1.H.264-KiNGS.mkv and added to wantedQueue
2013-05-14 09:39:00,909 INFO  scanDir: Dutch subtitle wanted for 
Revenge.S02E22.1080p.WEB-DL.DD5.1.H.264-KiNGS.mkv and added to wantedQueue
2013-05-14 09:39:00,808 INFO  scanDir: Dutch subtitle wanted for 
Nikita.S03E21.1080p.WEB-DL.DD5.1.H.264-KiNGS.mkv and added to wantedQueue
2013-05-14 09:39:00,775 INFO  scanDir: Dutch subtitle wanted for 
Defiance.S01E05.720p.HDTV.x264-EVOLVE.mkv and added to wantedQueue
2013-05-14 09:39:00,656 INFO  scanDir: Dutch subtitle wanted for 
Elementary.S01E22.Risk.Management.1080p.WEB-DL.DD5.1.H.264-ECI.mkv and added to 
wantedQueue
2013-05-14 09:39:00,653 INFO  scanDir: Dutch subtitle wanted for 
Elementary.S01E21.A.Landmark.Story.1080p.WEB-DL.DD5.1.H.264-ECI.mkv and added 
to wantedQueue
2013-05-14 08:40:06,021 INFO  AutoSub: threads started, going into a loop to 
keep the main thread going

Original issue reported on code.google.com by vaeschri...@gmail.com on 14 May 2013 at 5:06

Attachments:

GoogleCodeExporter commented 9 years ago
A better debug log

Original comment by vaeschri...@gmail.com on 14 May 2013 at 5:16

Attachments:

GoogleCodeExporter commented 9 years ago
Coundn't find the issue, but could you please upload your config file? Remember 
to hide passwords / apikeys from it.

Original comment by romke.va...@gmail.com on 15 May 2013 at 7:31

GoogleCodeExporter commented 9 years ago
Here it is

Original comment by vaeschri...@gmail.com on 15 May 2013 at 7:38

Attachments:

GoogleCodeExporter commented 9 years ago
Seems like there is something wrong with the folder 'House/Season 3'

/share/MD0_DATA/TV Shows/House/Season 3
Auto-Sub runs tree down, and after that folder he start to scan the complete 
tree again. Could you have a look at the folder House and all the subfolders?

ls -al /share/MD0_DATA/TV Shows/House
ls -al /share/MD0_DATA/TV Shows/House/Season 3
ls -al /share/MD0_DATA/TV Shows/House/Season 3/metadata
ls -al /share/MD0_DATA/TV Shows/House/Season 2
ls -al /share/MD0_DATA/TV Shows/House/Season 2/metadata
ls -al /share/MD0_DATA/TV Shows/House/Season 1
ls -al /share/MD0_DATA/TV Shows/House/Season 1/metadata
ls -al /share/MD0_DATA/TV Shows/House/Season 4
ls -al /share/MD0_DATA/TV Shows/House/Season 4/metadata
ls -al /share/MD0_DATA/TV Shows/House/Season 5
ls -al /share/MD0_DATA/TV Shows/House/Season 5/metadata
ls -al /share/MD0_DATA/TV Shows/House/Season 6
ls -al /share/MD0_DATA/TV Shows/House/Season 6/metadata
ls -al /share/MD0_DATA/TV Shows/House/Season 7
ls -al /share/MD0_DATA/TV Shows/House/Season 7/metadata
ls -al /share/MD0_DATA/TV Shows/House/Season 8
ls -al /share/MD0_DATA/TV Shows/House/Season 8/metadata

run those commands and upload the output here please

Could you also run:

mount
ls -al /share

And upload the output here, thanks!

Original comment by romke.va...@gmail.com on 15 May 2013 at 7:54

GoogleCodeExporter commented 9 years ago
Here it is. So you think it's because of some files?

Original comment by vaeschri...@gmail.com on 15 May 2013 at 8:10

Attachments: