catharsis / spotifile

FUSE file system for Spotify
BSD 3-Clause "New" or "Revised" License
149 stars 7 forks source link

Default tracks sort in playlists #16

Open raoulh opened 9 years ago

raoulh commented 9 years ago

By default all tracks in a playlist are name by their title and it's sorted alphabetically by those track names. The track "folder" contains an index file with the corresponding index of the track in the playlist.

Maybe a better way could be to let the user configure how the tracks should be name. For example I like to have track names as "01 - Artist - TrackTitle". Maybe adding some entry in the config file to configure the track names in playlist: .config/spotifile/spotifile.conf:

[playlists]
title_format=%i - %a - %t

%i = index %a = artist %t = title and so on

raoulh commented 9 years ago

In fact the index file in playlist tracks are not index position in the playlist. What are those index?

catharsis commented 9 years ago

That's a nice idea, I hadn't thought of that. This is mildly related to #14, which is intended to make the directory structure more usable & user-friendly for actual playback.

The "index" file denotes the index of the track on the album it appears on. I can see how that would be confusing.