tattwamasi / TeslaTunes

Copy your iTunes library, automatically converting Apple Lossless to flac, to a destination for use with your Tesla Model S
https://teslatunes.loci.net
43 stars 5 forks source link

Playlist order is weird, and lists unexpected playlists #4

Closed tattwamasi closed 8 years ago

tattwamasi commented 9 years ago

The playlist order doesn't match what is expected from seeing the order in iTunes. The app displayed the playlists in the order iTunes gives them to it, but it doesn't match expectations. Will look at best way to fix it.

tattwamasi commented 8 years ago

Turned out more complicated than I expected. iTunes doesn't give it's displayed order really, and includes a bunch of playlists that it itself hides or displays in different areas of it's UI.

If I could see an easy way to do it, I would love to display the list using the same graphic style, icons, etc., and same sections and order as the iTunes UI, minus the playlists that can't contain items that make sense to transfer.

Since I couldn't easily do that, I at least took a shot at making it sort the same way the playlists section of the iTunes UI does while stripping out playlist categories that are obviously not things we should sync. You can't tell that just from the playlist iTunes gives you in the case of user created playlists, but at least we can strip out some of the system created stuff like voice memos, apps, movies, etc. (any that for some reason got converted to user playlists though, smart or not, will still show up)