Playlists #307
Replies: 4 comments 12 replies
-
Did you take a look at the code snippets?
That does look like a bug. Could you upload the playlist file please? |
Beta Was this translation helpful? Give feedback.
-
As a follow-up, I've got some EXTINF lines with -1 for duration. Do you believe this is related to the issue above? Some files do load the time just fine. As you can see from the bottom image, ATL does report the correct duration when I create a Track instance. All my thanks.
|
Beta Was this translation helpful? Give feedback.
-
Thank you for fixing the duration. The issue with the -'s in the title still remain. If you load a playlist, and iterate through the Tracks, you'll notice that the titles all start with " - ". What happens is that each time you read and write the playlist, it keeps adding a - to the #EXTINF line. As an example. I write a single track to a blank playlist. Everything looks good.
Now, I add another track to the playlist. To do this, I have to read the playlist, add the new track, and write the lines again. Now you can see that the first track now has 2 -'s in the #EXTINF line.
And when I add a 3rd track to the playlist, this is what the playlist lines look like before I add the track. These are the TrackNumber, Artist, and Title fields in brackets.
And this is the code I use to print the above
I'm sorry to trouble you with this. |
Beta Was this translation helpful? Give feedback.
-
This works. Thank you very much for taking the time to fix this :) |
Beta Was this translation helpful? Give feedback.
-
I finally got around to looking at the playlist functionality; it's one of the features that I really liked about this library. A couple of observations.
Thanks for your time.
Beta Was this translation helpful? Give feedback.
All reactions