1 | | Current behaviour is to save the first media in the journal, and save the playlist when more media is added to the playlist. |
2 | | |
| 1 | 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. |
| 2 | |
| 3 | TestCases: |
| 4 | |
| 5 | * start Jukebox from scratch, close it |
| 6 | * an empty playlist is stored, type: audio/x-mpegurl, size: empty, |
| 7 | title: "Jukebox Activity" |
| 8 | |
| 9 | Currently, the entry added to the journal is type: unknown. |
| 10 | |
| 11 | * start Jukebox from scratch, add one media, close |
| 12 | * a playlist is stored, type: audio/x-mpegurl |
| 13 | |
| 14 | * start Jukebox from scratch, add more than one media, close |
| 15 | * a playlist is stored, type: audio/x-mpegurl |
| 16 | |
| 17 | Currently, two entries are added to the journal. One is type: |
| 18 | audio/x-mpegurl, title: "Jukebox playlist". The other is type: |
| 19 | unknown, size: empty |
| 20 | |
| 21 | * start playlist (type: audio/x-mpegurl) with Jukebox, add one media, |
| 22 | close |
| 23 | * a playlist is stored, type: audio/x-mpegurl |
| 24 | |
| 25 | * start Jukebox from media inside journal, close |
| 26 | * a playlist is stored, type: audio/x-mpegurl, title: "Jukebox |
| 27 | playlist" |
| 28 | |
| 29 | * start Jukebox from media outside journal (ie Documents folder), close |
| 30 | * the media is copied to the journal (as per Journal current behaviour |
| 31 | [1]) |
| 32 | * also a playlist is stored, type: audio/x-mpegurl, title: "Jukebox |
| 33 | playlist" |
| 34 | |
| 35 | [1] sugar/src/jarabe/journal/misc.py resume() function |