Closed rkohser closed 10 years ago
Make use of this : http://peewee.readthedocs.org/en/latest/peewee/querying.html#foreign-keys instead of the "Convenient classes" Further idea : update() (linked to refresh?) could just list the new episodes and suggest the registration to the user in the interface. Or do it directly but provide "last episodes" section pointing the automatic registration. A "merge" should be done, and not a systematic complete refresh
A logic has to be found and implemented for the episode order. We cannot only rely on the sxxexx pattern as sometimes an episode is actually two episodes in a row (s01e06e07). Could use a linkedlist model, with a field of the episode table refering to itself.