CinemaVision / script.cinemavision

The core CinemaVision add-on for Kodi.
http://www.cinemavision.tv/
Other
9 stars 16 forks source link

Two trivia directories causes issue #72

Open CinemaVision opened 7 years ago

CinemaVision commented 7 years ago

If a Trivia and a Trivia Slides directory exist, the (usually blank) Trivia directory is used which prevents trivia playback.

ruuk commented 7 years ago

Trivia is the correct directory. We have code that looks for a Trivia Slides directory and if found, deletes any Trivia directory if one exists then renames Trivia Slides to Trivia. If it fails to remove the Trivia directory for any reason (a big one being that it is not empty) then there is not much we can do about it. This code is here for migration purposes and probably should be removed now, since it has been so long since the change that required it. At this point it should be a user fix - in this case manually remove the Trivia directory and rename Trivia Slides.

CinemaVision commented 7 years ago

Fair point, well made. Lets go ahead and remove the migration code, but if we can, keep something in the log that alerts us to the presence of the old trivia directory in case we have stragglers.

CinemaVision commented 7 years ago

Remove all migration code and logging.