Re: [Banshee-List] banshee playlist export * in name becomes _



"*" is a special character in file names - it is a wild card. Sanitising
names so that they don't cause issues normally results in the underscore
character being used. That change is "destructive" (there's no way to
know whether the character was originally an underscore or one of a
dozen other forbidden characters), so when the playlist is re-imported
then there's no way of knowing what to turn it back to.

Looking at the source code, any playlist that doesn't define a title
gets the file name without the extension as its title*. If the playlist
format you chose is purely a list of tracks with no metadata about the
playlist (so it doesn't define a title) then you'll get the behaviour
that you saw.




* var title = playlist.Title ?? Path.GetFileNameWithoutExtension
(uri.LocalPath);



On 03/02/15 21:11, F.J.H. Dols wrote:
Hi,

upon export a * in the name of the playlist becomes _.
When importing this stays a _.

is there a reason for this or is it a small bug?
_______________________________________________
banshee-list mailing list
banshee-list gnome org
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]