Quantcast
Channel: Airtime Support Discussions on Sourcefabric Forum
Viewing all articles
Browse latest Browse all 1390

Error when scheduler stoped

$
0
0
In the console I get this error when the scheduled playlist is finished:

PlaylistEvent::stop error:
GstreamerPlayer not opened yet


What this mean? I read inside the cxx code and say that this is not an error if the user was stoped the playlist, but this is no my case:

void
PlaylistEvent :: stop(void)                        throw ()
{
    DEBUG_BLOCK

    try {
        audioPlayer->stop();
        audioPlayer->close();
    } catch (std::logic_error &e) {
        // TODO: handle error
        // NOTE: this may not be an error, because the user may have stopped
        // the playback manually (see Scheduler::StopCurrentlyPlayingMethod)
        std::cerr << "PlaylistEvent::stop error: " << std::endl;
        std::cerr << e.what() << std::endl;
    }
    state = stopped;
}



Viewing all articles
Browse latest Browse all 1390

Trending Articles