Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9283659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T18:41:12+00:00 2026-06-18T18:41:12+00:00

After a recent software update to the phonon libraries, I’ve noticed that a media

  • 0

After a recent software update to the phonon libraries, I’ve noticed that a media playing application that I wrote is no longer able to loop tracks. The code in question is below. The first track is set, and once it nears completion it is set to play again.

void Alarm::Start(bool useCustom)
{
    if(useCustom)
    {
        media->setCurrentSource(Phonon::MediaSource(this->_CustPath));
        this->_UsingCustomPath=true;
    }else{
     FileIO::ExtractAudio();
     media->setCurrentSource(Phonon::MediaSource(this->_DefaultPath));
     this->_UsingCustomPath=false;
    }

    media->play();
    connect(media,SIGNAL(aboutToFinish()),this,SLOT(RepeatAllTheThings()));
    this->_isPlaying=true;
}

void Alarm::RepeatAllTheThings()
{
    if(this->_UsingCustomPath)
    {
       media->enqueue(this->_CustPath);
    }else{
        media->enqueue(this->_DefaultPath);
    }
}

After running through the debugger a few times I noticed this message:

"Ignoring source as no aboutToFinish handling is in progress"

A quick google search doesn’t tell much about this message. It looks like a check for a private variable (that I dont have access to) has been added (a diff of the file)

Does anyone know if I just discovered a new bug in phonon, or am I some how using the enqueue method incorrectly?

EDIT:
The code above only fails about 1/2 the time. Very confused. Currently running phonon-gstreamer 4.6.3

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T18:41:14+00:00Added an answer on June 18, 2026 at 6:41 pm

    Solved with this work-around:

    media->play();
    connect(media,SIGNAL(finished()),this,SLOT(RepeatAllTheThings()));
    
    
    
    void Alarm::RepeatAllTheThings()
    {
        if(this->_UsingCustomPath)
        {
            media->setCurrentSource(Phonon::MediaSource(this->_CustPath));
        }else{
            media->setCurrentSource(Phonon::MediaSource(this->_DefaultPath));
        }
        media->play();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application on the Android market however after a recent update a
After a system upgrade i am no longer able to start my tomcat5 server.
After the recent announcement that the F# compiler source was available under the apache
As of yesterday (perhaps after a recent PHP update?), I'm getting some very strange
I am getting crazy with the localization of an MVC application. After a recent
I have a Java EE application running under Glassfish. After some recent changes we
After the recent auth changes, one application stopped submitting forms properly, and I can't
Suddenly, I'm getting this notice from php after a recent php version update. It
After recent update of iTerm2 the split panes look different: This is how it
After a recent submission I have gotten the following error: Invalid Signature - the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.