Page 1 of 1

.xspf playlist won't open (due to mistake).

Posted: 23 Sep 2021 08:55
by Vaganza
I made a change in my/ a .xspf playlist true "Notepad ++"
but obviously made some mistake somewhere (it won't open).
(It's too late to step back with the Undo function,
I have too little memory on my computer to have
a "Restore point" - would in itself appreciate if
someone knows how to make such a setting for
just these small programs/ files).

I've reviewed the 900+ or so item playlist several times
but I can't find the fault.

I've searched the web for some program to correct it
with but found nothing, do any of you know of one ?

ASUS UX305CA (Laptop), Windows 10 Home
Processor: lntel(R) Core(TM) m3-6Y30 CPU @ 0.90GHz 1.51 GHz
Installed memory (RAM): 8.00 GB (7.90 GB usable)
System type: 64-bit Operating System, x64-based processor

VLC 3.0.16 Vetinari

Re: .xspf playlist won't open (due to mistake).

Posted: 25 Sep 2021 13:25
by Hitchhiker
System Restore needs to be enabled on Windows 10 unlike previous versions of Windows where it was enabled by default: https://www.groovypost.com/howto/window ... m-restore/

As regards your playlist file you might try the Superuser site: https://superuser.com/ They might know of a way to find the fault.

Re: .xspf playlist won't open (due to mistake).

Posted: 25 Sep 2021 15:55
by InTheWings
playlists are XML. Run xml a validator or open it in firefox/chrome, that will point out the issues

Re: .xspf playlist won't open (due to mistake).

Posted: 26 Sep 2021 05:21
by Vaganza
Thank you for your answers!

One of the better ones I used, Validate XML files
identified a problem which I corrected.

I'm not expecting you to help me with the rest of it,
as Hitchhiker commented,
that, I will have to post in another Forum,
but just to point out how difficult this is,
after the 1st problem corrected, Mozilla gave:

Code: Select all

Erreur d’analyse XML : balise ne correspondant pas. Attendu : </track>. Emplacement : file:///C:/Users/Vaganza/Documents/playlists/Caching%201500%20VLC,%201a%20Different%20Channels%20.xspf Numéro de ligne 6830, Colonne 4 : </trackList> ----------^
and Code Beautify (and the similar with others):

Code: Select all

Error : InvalidTag Line : 6830 Message : Closing tag 'track' is expected inplace of 'trackList'.

and then "Validate..." goes on to say:

Code: Select all

Errors in the XML document: 6830: 9 The end-tag for element type "track" must end with a '>' delimiter.
showing the problem area:

Code: Select all

6823 <track> 6824 <location>http://Streamer/username/password/xxxxx</location> 6825 <title>Travel Channel</title> 6826 <extension application="http://www.videolan.org/vlc/playlist/0"> 6827 <vlc:id>977</vlc:id> 6828 </extension> 6829 </track> 6830 </track List> 6831 <extension application="http://www.videolan.org/vlc/playlist/0"> 6832 <vlc:item tid="0"/>

How it looks now. Can you detect the error ? (rhetorical question) :

Code: Select all

<track> 6824 <location>http://Streamer/username/password/xxxxx</location> <title>Travel Channel</title> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:id>977</vlc:id> </extension> </track> </trackList> 6831 <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:item tid="0"/>

In another list, which is okay, it ends with:

Code: Select all

</extension> </track> </trackList> 7157 <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:item tid="0"/>

pasted the correct ending in the faulty list to no avail.