Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-62255

Loading a playlist from a remote server fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.9.3
    • 5.9.0, 5.9.1
    • Multimedia
    • None
    • This is on an ArchLinux system with a gstreamer backend.

    Description

      I have the following programm

      player = new QMediaPlayer(this);
      player->setPlaylist(new QMediaPlaylist(player));
      player->playlist()->load(QUrl("http://streams.br.de/bayern1_1.m3u"));
      connect(player->playlist(), &QMediaPlaylist::loaded, player, &QMediaPlayer::play);

      Loading the playlist fails with a "empty file error". However, if I download the playlist with wget and change the QUrl to "file:///home/myhome/bayern1_1.m3u" everything works perfectly.

      The problem exists both with .m3u and .pls playlists.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            felix.braun Felix Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes