show current played song / Playlist in Textfile or via Telnet

Bug #798090 reported by Moonwolf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Low
Phillip Whelan

Bug Description

I would like to have a function like BPM has: To show show current played song / Playlist in a Textfile or via telnet / http commands. So it would be possible to grab that information for other Applications.
In BPM you can poll that information by entering http:127.0.0.1/function.html in a Browser. So for example: http:127.0.0.1/playlist1 ... this will return the playlist of player1.
But a simple autoupdating textfile would be also okay so another application can read the informations.

Revision history for this message
Phillip Whelan (pwhelan) wrote :

I've pretty much nailed down this bug. It happens when a Hotcue is activated (the track was previously paused) and then you hit the play button. Judging from the code this might have been done more as a *feature* than it being an actual bug. For reference, this is the actual offending code, from src/engine/cuecontrol.cpp[649]:

void CueControl::cuePlay(double v) {
    QMutexLocker lock(&m_mutex);

    if (m_bPreviewing && !v) {
    // we're previewing? Then stop previewing and go into normal play mode.
        m_pPlayButton->set(1.0);
        m_bPreviewing = false;
    }

    if (m_bPreviewingHotcue && !v) {
        m_pPlayButton->set(1.0);
        m_bHotcueCancel = true;
    }

    lock.unlock();
}

Where it checks for m_bPreviewingHotcue is where it gets hung up.

Revision history for this message
Phillip Whelan (pwhelan) wrote :

Looking through the logs apparently this was a *feature*. This fixes the long standing issue of getting the track to resume when previewing using cue and then pressing the play button.

Revision history for this message
Phillip Whelan (pwhelan) wrote :

Great... Those comments were meant for another bug. As for this feature, you can use the CUE file recording feature in the new 1.10 version of Mixxx. If you have it record a CUE file along with the sound recording it will spit out the playlist into the CUE file. The output gets flushed after every song is logged so it can be used on the run.

Changed in mixxx:
importance: Undecided → Low
status: New → Fix Committed
milestone: none → 1.10.0
assignee: nobody → Phillip Whelan (pwhelan)
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/5929

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.