old playlist format is no longer supported
First and foremost consider this:
- Only RetroArch bugs should be filed here. Not core bugs or game bugs
- This is not a forum or a help section, this is strictly developer oriented
Description
any playlist that doesnt use the new format shows "no playlist entries available"
Expected behavior
for the playlist to still show up or at least get converted automatically
Actual behavior
"no playlist entries available"
Steps to reproduce the bug
- have a non json playlist
- navigate to it
- "no playlist entries available"
Bisect Results
[Try to bisect and tell us when this started happening]
Version/Commit
You can find this information under Information/System Information
- RetroArch: 1.7.8 e39f5d7143
Environment information
- OS: Windows 8.1
- Compiler: [In case you are running local builds]
Can you try some recent nightlies and pinpoint when this started happening?
@kcin2001 I can't reproduce this. Could you post a non-working playlist, so I can check it over? (might be an obscure encoding issue, or suchlike)
!Metroid.lpl.txt here @jdgleaver
@kcin2001 Hmm... That file looks fine (no encoding issues, no BOM oddness at the start of the file) - and moreover, it loads just fine under Linux:

There's nothing in the code that should be different for Windows, so this is a bit of a puzzle. I don't have a Windows machine available for testing. Are you able to compile a Windows build? I could give you a diff with some debugging output, which would at least show how it's reading the lines.
1 other weird thing, i have an old format playlist that should be identical in formatting that does work, i just never think of it since i removed its extension to hide it from xmb but i thought of it when i looked in the desktop menu
I'm on Windows and I also cannot reproduce this (using https://github.com/libretro/RetroArch/commit/e39f5d714317c0a5e85cdc7ed1c326c7d674edee), the playlist loads just fine.
Can you zip the 2 playlists you got, just to be sure the files don't somehow get changed along the way?
playlists.zip the 2 with the lpl extension dont work but the 1 without any extension works (in desktop menu)
Hm... Nope.
After some thinking I could reproduce it in one way: If the current user doesn't have read permissions for the file, RetroArch will see the file but can't open it and thus shows an empty playlist.
Can you check the file permissions?
All three worked here...

Anything in the filename or file system that would cause Windows to bork?
they should have normal perms, retroarch has been able to open them in the past and notepad++ is able to open and edit them fine
the middle one does work (but is also new format)

That screenshot doesn't show the user permissions, but you are right that if Notepad++ can open it, this shouldn't be the issue. Just to be extra sure you could try running RetroArch as admin.
If that still won't work, let's see where the problem lies.
Can you run this debug build (source, if you want to build yourself) and post the [DEBUG] log entries?
It should look like this:
[INFO] [DEBUG] menu_displaylist_set_new_playlist(C:\Users\kcin2001\Downloads\RetroArch\playlists\!Pokemon.lpl)
[INFO] [DEBUG] opened playlist C:\Users\kcin2001\Downloads\RetroArch\playlists\!Pokemon.lpl
[INFO] [DEBUG] old playlist format detected
[INFO] [DEBUG] reading playlist entries...
[INFO] [DEBUG] read playlist with 30 entries
[INFO] [DEBUG] playlist_init_cached(C:\Users\kcin2001\Downloads\RetroArch\playlists\!Pokemon.lpl) succeded
[INFO] [DEBUG] menu_displaylist_parse_playlist list_size = 30
i get this when i try to run the debug build, newer redist needed or what?
Oh, hm.. the nightlies use avcodec-57 still, okay, I guess I'll just upload the whole thing. Here you go.
and the issue is gone with that build

Huh.
Okay, let's think about what has changed.
First of all, you said you were using version https://github.com/libretro/RetroArch/commit/e39f5d714317c0a5e85cdc7ed1c326c7d674edee, but I looked at the releases and there's a nightly just one commit before that, the next nightly is a few commits after that and the stables are also different - so where did you get this version?
The debug build was done from master, so we can try again with a build based on https://github.com/libretro/RetroArch/commit/e39f5d714317c0a5e85cdc7ed1c326c7d674edee (copy that over the last one).
Then the second thing, the redists - those shouldn't affect this at all and no matter what combination of version and redist I tried, I still could not reproduce the issue.
You ran the build from the same directory with the same retroarch.cfg and all, right?
Did you test the newest nightly as well?
The build i was using was a nightly i downloaded when i wanted to try ps1 cheevos and i can check but i downloaded the newest nightly after trying the debug build you sent because how i did it broke my retroarch install slightly
I should not i get my nightly exes from the update zip
Ah, so you got the version from RetroArch_update.zip, that only contains the exes without the redist.
Generally it's fine to get that, the redist only change rarely and if there's an issue you can download them separately as well.
You can just also download the full build which contains both.
Let's first try to repair the dll mess I created.
You can delete all the dlls in C:\Users\kcin2001\Downloads\RetroArch including subfolders - except for the cores folder.
Download the full build just to be sure and extract it in C:\Users\kcin2001\Downloads\RetroArch.
Now everything should be in order again.
Can you then test if the playlist loads like it should?
When i fixed my install to the latest nightly yesterday i just downloaded the update and the redist