Bug #128
Saving episode details after scrape corrupts data
| Status: | Closed | Start: | 02/28/2010 | |
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assigned to: | % Done: | 100% |
||
| Category: | - | |||
| Target version: | 1.0 |
Description
After scraping a TV show for the first time, the episodes written to the database overwrite other show episodes. I created a dummy TV show folder with the following structure:
TV
24
Season 1 (folder containing 8 dummy avi episode files)
Season 2 (folder containing 18 dummy avi episode files)
Season 3 (folder containing 18 dummy avi episode files)
Specials (folder containing 18 dummy avi episode files)
Lost
Season 1 (folder containing 18 dummy avi episode files)
Season 2 (folder containing 18 dummy avi episode files)
Season 3 (folder containing 18 dummy avi episode files)
Stargate
Season 1 (folder containing 18 dummy avi episode files)
Season 2 (folder containing 18 dummy avi episode files)
Season 3 (folder containing 18 dummy avi episode files)
After right-clicking "24" and choosing re-scrape the data is screwed up, with "24" episodes appearing when I click "lost".
Couldn't find the exact problem in the save routines although I did notice that the SaveTVShowToDB method of clsAPIDatabase sets the HasPoster and HasFanart in the wrong order, although I doubt very much if that bug is what is causing the problem I see.
History
Updated by Dale Williams 6 months ago
Oh forgot to mention it saved the nfos and images all correctly without the same corruption.
If you find it difficult to duplicate the bug and I have some time later in the week I'll have a go at tracking down the problem but I suspect it stems from the SaveTVEpToDB method of clsAPIDatabase
Updated by Jason Schnitzler 6 months ago
- Status changed from New to Feedback
- Assigned to set to Jason Schnitzler
Can you try new SVN and let me know if you're still having the problem. I didn't do anything specific to fix this bug, but I can't reproduce it either. lol
Updated by Jason Schnitzler 6 months ago
- Status changed from Feedback to Closed
- % Done changed from 0 to 100