Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] Playlists #148

Open
angushendrick opened this issue Mar 2, 2018 · 4 comments
Open

[QUESTION] Playlists #148

angushendrick opened this issue Mar 2, 2018 · 4 comments

Comments

@angushendrick
Copy link

Thanks much for ttwatch. Is there any chance that support for putting playlists on the Spark 3 could be added?

@ryanbinns
Copy link
Owner

That's a tough one. I don't have a Spark and am unlikely to get one, so someone else would have to provide details of how the playlists are transferred to the watch.

@angushendrick
Copy link
Author

angushendrick commented Mar 2, 2018 via email

@scubajorgen
Copy link
Contributor

scubajorgen commented Mar 4, 2018

Indeed, on my windows PC the storage for music is mounted as a removable storage.
Furthermore, file 0x00880000 contains a textual representation of the playlist directory structure. Example:

/MySportsConnect/Music/playlist001/04 Lovin Me.mp3
/MySportsConnect/Music/playlist001/01 Canto Ostinato 1.mp3
/MySportsConnect/Music/playlist003/02 Canto Ostinato 2.mp3

Looking at the actual directories as mounted, I see m3u8 playlist files, which are not mentioned in the 0x00880000 file

/MySportsConnect/Music/masterplaylist.m3u8

#TTPLAYLIST
#NAME:TomTomDemo
playlist001/PLAYLIST.m3u8
#NAME:playlist003
playlist003/PLAYLIST.m3u8

/MySportsConnect/Music/playlist001/PLAYLIST.m3u8

#EXTM3U
#TTPLAYLIST_NAME:TomTomDemo
#EXTINF:277,Lovin' Me
04 Lovin Me.mp3

/MySportsConnect/Music/playlist003/PLAYLIST.m3u8

#EXTM3U
#TTPLAYLIST_NAME:playlist003
#EXTINF:0,02 Canto Ostinato 2
02 Canto Ostinato 2.mp3

The m3u8 files are UTF-8 encoded version of m3u standard; https://en.wikipedia.org/wiki/M3U

I don't know whether the masterplaylist is according to the spec: according to wikipedia the 1st line of a m3u file must be '#EXTM3U', which it isn't apparently.

(the '04 Loven Me.mp3' is delivered on the watch by TomTom, I cannot remember how I copied the canto ostinato files: directly or via the TomTom MySports application; I guess the latter)

@typhoon2099
Copy link
Contributor

I have tended to copy/paste songs into a new folder in /MySportsConnect/Music and then opened them all in Amarok (music player), then exporting the current playlist as an M3U8 and saving it in the directory. Then I need to update the master playlist with a link to the newly created playlist. It's a bit or work but it's doable. I'm sure the process could be automated somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants