Closed IanDBird closed 9 years ago
That's certainly interesting, and thanks for doing all the research. It looks like you spent some time on it.
Since you've already got a fix I'd be happy to accept a pull request, or I'll update it myself in a day or two.
Great, i'll try and submit a PR very soon. There are a number of other things preventing me from running end to end testing on this particular setup, so am hoping to get that working before I push the changes. I also have a few other additions that I was going to push separately for discussion.
When attempting to run Autorippr on my QNAP NAS, I get the following error:
After debugging a bit, it turns out the (peewee) error occurs when performing building the SQL for the the
Movies.filename != None
and appears to due to the comparison withNone
, e.g.The workaround i've done locally is to always save the filename in the database as the string "None". It's not particularly nice but it does workaround this specific issue. I'm also assuming that i'd never have a file which has the exact filename "None" :) This does mean that I use the default of "None" inside
insert_movie
so that when a Movie is initially created, it has been set.I'm not sure if you'd like to include this workaround, but I thought best to document it here so that anyone else who has similar issues can see how to resolve it.