Not able to open playlist from mediaportal in Windows mediaplayer (1 Viewer)

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Yes, this is excatly why we have chosen to have UTF-8.
    We are writing all other playlists in UTF-8 format.

    The m3u spec clearly states that it needs to have Windows-1252.

    So we can have 2 options:
    1. Save in UTF-8, which preserves e.g. Cyrillic and the file cannot be opened in WMP
    2. Save in Windows-1252, which allows then the file to be opened in other players, but cyrillic leters are lost

    An option could be to use Encoding.Default.
    If it is used on your system, it'll use your Encvoding, thus preserving your letters.
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    Save in Windows-1252, which allows then the file to be opened in other players,
    afaik only WMP has problems with it - i tested it with MPC-HC and it eats UTF8 quite good.

    If it is used on your system, it'll use your Encvoding, thus preserving your letters.
    as i live in Germany, but listen german and russian music, all other options except Unicode do not work for me.

    can MP open saved M3U playlists later? do we use M3u as playlists for MP also internally, or MP generates M3U only for export? sorry for such questions, i haven't used music part of MP much.
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    what i can imagine - for those users still using WMP we can generate additional playlist in that forman that WMP understands - WPL.Not nice, but at least we can keep all info in unicode, and still be compatible with that dumb WMP
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    We support already a lot of different formats, including wlp.
    it is just that wmp fails with utf8
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Ok, agreed.
    We should support our users and this means to support UTF-8.

    If WMP has troubles handling it, bad cheese. :)
    I am rtevefrting the change. AT least we have now a correct duration in the playlist
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    as an alternative - we can give those playlists extension *.m3u8 - acc.to google that should define m3u structures and use UTF8 encoding. And it is not supported by WMP, so noone comes to the idea to play it with WMP.
    What do you think?
     

    killer8

    Portal Pro
    July 29, 2012
    378
    186
    Home Country
    Netherlands Netherlands
    What is going ot happen with this problem? I understand what @Vasilich says and I think it's a good solution to use both m3u8 and m3u like the standard defines.
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Ok, i have updated branch MP1-4580.
    We have now a Config option under Playlist, which when set, saves a playlist in utf8 format with an extension of m3u8.
    The default is Windows-1252 and an extenbsion of m3u.

    @Vasilich: Could you please test?
     

    Users who are viewing this thread

    Top Bottom