Bug #339

Video path should be relative to the search directory

Added by Hammel over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:30 May 2014
Priority:NormalDue date:
Assignee:Hammel% Done:

100%

Category:UI
Target version:PiBox - 0.9.0
Severity:03 - Medium

Description

Right now the path is fully qualified. The dirName field should be removed from the return from File.getPath().

Associated revisions

Revision e93c8803
Added by Hammel over 3 years ago

RM #339: Convert spaces to underscores in poster file name.

Revision e93c8803
Added by Hammel over 3 years ago

RM #339: Convert spaces to underscores in poster file name.

Revision ce4d684e
Added by Hammel over 3 years ago

RM #339, RM #340: Make video file paths relative to video directory. Drop Video array used by UI and merge usage with LocalDB requirements, which means merging usage of filename, displayname and listname.

Revision ce4d684e
Added by Hammel over 3 years ago

RM #339, RM #340: Make video file paths relative to video directory. Drop Video array used by UI and merge usage with LocalDB requirements, which means merging usage of filename, displayname and listname.

Revision a0191b16
Added by Hammel over 3 years ago

RM #339, RM #340: Merge usage of filename, listname and displayname. Fix getVideo() to do lookups based on displayname.

Revision a0191b16
Added by Hammel over 3 years ago

RM #339, RM #340: Merge usage of filename, listname and displayname. Fix getVideo() to do lookups based on displayname.

Revision a6ffc635
Added by Hammel over 3 years ago

RM #331, RM #339, RM #340: Update movie list from DB only using new method. Show display name in TMDB field to allow editing. Load images based on relative paths. Use db entry when doing scan of tmdb. Set default paths when loading a new directory. Don't rebuild db if specified directory doesn't exist.

Revision a6ffc635
Added by Hammel over 3 years ago

RM #331, RM #339, RM #340: Update movie list from DB only using new method. Show display name in TMDB field to allow editing. Load images based on relative paths. Use db entry when doing scan of tmdb. Set default paths when loading a new directory. Don't rebuild db if specified directory doesn't exist.

History

#1 Updated by Hammel over 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

This is a bit clunky but the db now only stores the relative path. The UI then resolves paths by using the saved S_MOVIEDIR parameter from the user config file.

That's sufficient for now. This issue can be closed.

Also available in: Atom PDF