Opened 12 years ago

Last modified 11 years ago

#3661 closed defect

Jukebox should always save a playlist with references to media — at Version 3

Reported by: manuq Owned by: manuq
Priority: Unspecified by Maintainer Milestone:
Component: Jukebox Version: Unspecified
Severity: Unspecified Keywords: 12.1.0
Cc: humitos, manuq, martin.langhoff Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description (last modified by manuq)

Current playlist handling is a bit inconsistent, so the hopefully clear testcases below would help as specification. Journal current behaviour is to copy to the Journal a file that is stored in an external media, so Jukebox can't avoid that copy in today's Journal.

TestCases:

  • start Jukebox from scratch, close it
  • an empty playlist is stored, type: audio/x-mpegurl, size: empty, title: "Jukebox Activity"

Currently, the entry added to the journal is type: unknown.

  • start Jukebox from scratch, add one media, close
  • a playlist is stored, type: audio/x-mpegurl
  • start Jukebox from scratch, add more than one media, close
  • a playlist is stored, type: audio/x-mpegurl

Currently, two entries are added to the journal. One is type:
audio/x-mpegurl, title: "Jukebox playlist". The other is type:
unknown, size: empty

  • start playlist (type: audio/x-mpegurl) with Jukebox, add one media, close
  • a playlist is stored, type: audio/x-mpegurl
  • start Jukebox from media inside journal, close
  • a playlist is stored, type: audio/x-mpegurl, title: "Jukebox playlist"
  • start Jukebox from media outside journal (ie Documents folder), close
  • the media is copied to the journal (as per Journal current behaviour [1])
  • also a playlist is stored, type: audio/x-mpegurl, title: "Jukebox playlist"

[1] sugar/src/jarabe/journal/misc.py resume() function

Change History (4)

comment:1 Changed 12 years ago by humitos

  • Cc humitos added

comment:2 Changed 12 years ago by humitos

  • Cc manuq added

Can you explain here a bit more this issue?

I think that the first time that we add a song in the Playlist the song (.ogg) is copied to the XO (on the Journal) and the second time the Playlist (.m3u) is copied to the XO with the references to the song files (no .ogg is copied on the XO).

So, Jukebox should work everytime as the second time that I described above, am I right?

Thanks,

comment:3 Changed 12 years ago by manuq

  • Description modified (diff)

Changed 12 years ago by manuq

Proposed fix.

Note: See TracTickets for help on using tickets.