MultiMedia Soft forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

SMF - Just Installed!

Author Topic: something strange PlayListSave method  (Read 116 times)

Terry

  • Newbie
  • *
  • Posts: 26
    • View Profile
something strange PlayListSave method
« on: March 23, 2021, 12:32:33 PM »

Hello,

I use the sample program "Playlists.exe" to save the playlist.
If I add songs from local user music or document sub folder which folder name contains Chinese characters, the file name in the playlist is only in 8.3 format.
But any other folders except the local user folder are normal
Please see the result below.

-- m3u playlist file
C:\Users\yen\Music\西洋\01-NOR~1.MP3
C:\Users\yen\DOCUME~1\西洋\01-NOR~1.MP3
C:\Users\yen\Music\sample\01 - Norah Jones - Chasing Pirates.mp3    <-- It is normal
D:\Temp\西洋\01 - Norah Jones - Chasing Pirates.mp3          <-- It is normal
D:\Temp\01 - Norah Jones - Chasing Pirates.mp3       <-- It is normal


Terry
Logged

Administrator

  • Administrator
  • Sr. Member
  • *****
  • Posts: 309
    • View Profile
    • MultiMedia Soft
Re: something strange PlayListSave method
« Reply #1 on: March 24, 2021, 10:42:56 AM »

Hello,

the code for saving playlists file is quite old and was developed at the beginning of this century when Unicode was still not well supported so, by default, pathnames are converted in 8.3 format: quite strange that in some case there are still Unicode characters saved, it could in some way depend upon the main language of the Windows systems.

Kind Regards

Severino Delaurenti
MultiMedia Soft
Logged