FrancescoCeruti / linux-show-player

Linux Show Player - Cue player designed for stage productions
https://linux-show-player.org
GNU General Public License v3.0
212 stars 49 forks source link

Absolute filepaths in .lsp file #23

Closed eldog closed 6 years ago

eldog commented 8 years ago

Is it deliberate that the .lsp file uses absoulte paths rather than relative?

When sharing between different machines (or users) I manually edit the .lsp file to change the paths, e.g., /home/foo/example.mp3 to /home/bar/example.mp3, otherwise the files don't play (because those filepaths are wrong fot that machine).

It's not a major issue, just useful for sharing between techs and the json format makes editing the files very simple (good choice :)). I guess what would be required would be a export/bundle like in qlab which would put all the media files together too.

P.S. This is an amazing/powerful project and we're using to tech shows at Edinburgh fringe this year. Thank you.

FrancescoCeruti commented 8 years ago

Is it deliberate that the .lsp file uses absolute paths rather than relative?

Yes and no, currently there are a few limitation and to have relative path I should use some ugly workaround.

Anyway you don't need to edit manually the session file, under the Tools menu can find Session URI Changer, it opens dialog and from there you can load a session file and edit all the path you need and save back.

I guess what would be required would be a export/bundle like in qlab which would put all the media files together too.

That's something that can be useful, but currently I've no idea how it works in qlab (from the user perspective), so I need to do some research :)

P.S. Thanks, that's great! :smiley:

FrancescoCeruti commented 6 years ago

Relative paths are now used, right now this change is only in the development branch.