[Sugar-devel] About handing of files from external drives in journal

Tomeu Vizoso tomeu at sugarlabs.org
Thu Aug 27 05:34:36 EDT 2009


On Fri, Aug 21, 2009 at 07:10, Kushal Das<kushaldas at gmail.com> wrote:
> Hi,
>
> Currently journal copies the files from external devices and the
> activities don't get any feeling from where it is coming. Which is
> acceptable in most cases but while working on music playlist files
> (like .m3u or .pls) it becomes difficult as they contain relative path
> to the actual songs/videos.
>
> Jukebox used to find the real path of the link created by the journal.
>
> Possible solutions:
>  * Journal  can keep an entry in the data structure pointing to the
> real location of the file (the place it came from)
>  * Go back to old only link creating idea (Bad , this may break many activities)
>
> I am looking for suggestions on how to overcome this issue.

Sorry, I'm really short of ideas on this one. Something very dirty you
could do is to look in /media/*/ for the files referenced in the .pls.

Regards,

Tomeu

-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning


More information about the Sugar-devel mailing list