Menu

#213 .pls stream not rendered

svn
closed-invalid
nobody
7
2015-01-08
2015-01-07
WoJ
No

.pls streams are not rendered, mpg123 (ver 1.21.0) recognizes it as a playlist:

mpg123.exe http://statslive.infomaniak.ch/playlist/energy90s/energy90s-high.mp3/playlist.pls
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.21.0; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes

[mpg123.c:605] error: Unknown mpeg MIME type audio/x-scpls - is it perhaps a playlist (use -@)?

[mpg123.c:606] error: If you know the stream is mpeg1/2 audio, then please report this as mpg123 bug

I am not sure this is a bug (the URL I used is a stream) or by design, I am filing just in case.

Discussion

  • Thomas Orgis

    Thomas Orgis - 2015-01-07

    Am Wed, 07 Jan 2015 13:26:00 +0000
    schrieb "WoJ" woj10@users.sf.net:

    [mpg123.c:605] error: Unknown mpeg MIME type audio/x-scpls - is it perhaps a playlist (use -@)?

    [mpg123.c:606] error: If you know the stream is mpeg1/2 audio, then please report this as mpg123 bug
    ~~~~~~~~

    I am not sure this is a bug (the URL I used is a stream) or by design, I am filing just in case.

    That's a play on semantics. For mpg123, a stream means the actual
    stream of bytes with MPEG data. A playlist is just storage for the
    locations of "real" streams. The url you have there points to a
    playlist, which contains the actual stream addres. This is rather
    common and it's understandable that you identify "the stream" with the
    playlist.

    It may really be time to make mpg123 automatically try it as playlist
    as it suggests itself. I didn't do that back in the days to minimize
    surprises: mpg123 always tried to interpret input as bytestream unless
    -@ is specified. But since web servers are so nice to send MIME types,
    one could enable guessing.

     
  • WoJ

    WoJ - 2015-01-08

    I must not have tried hard enough yesterday as using -@ "was not working". It works perfectly today :)
    I also agree with you on the semantics and while automatically trying with the @ parameter would be nice, it is certainly not a bug per se, rather a nice-to-have (so please close the ticket I cannot do it myself, apparently).

     
  • Thomas Orgis

    Thomas Orgis - 2015-01-08
    • status: open --> closed-invalid
     

Log in to post a comment.

MongoDB Logo MongoDB