Apologies if I'm stepping on any toes or breaking any protocol here, I'd
just like a chat about using PiTiVi for a project I've got on at the moment.
As the subject suggests, I'm interested in housing a PiTiVi project in a
subversion repo - that is, an .xptv file, some videos and some SVGs and
PNGs for titles.
The problem I noticed is that inside the .xptv file, the media files are
referred to by their absolute paths - so every time you check out a new
working copy on a different host, you have to re-link every media file
when you open the project in the editor.
I've butchered a fix into the version that currently lives in the ubuntu
PPA (and I do mean 'butchered') just to scratch my particular itch, so
now if the 'filename' attribute in the <source> element of the .xptv
file starts with '../' (which is to say, if it's a relative path instead
of an absolute URI), the ElementTreeFormatter will pick it up and
replace it with the correct absolute URI for the rest of the loading
mechanism. This just means I have to run a script over the .xptv file
each time after I save some changes, to restore the relative links after
the saver clobbers them.
My question is: Are there any plans for a properly-implemented version
of this feature in the pipeline? If not, can anyone who knows the
codebase better give me some pointers toward a more elegant solution?