Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Querying iTunes COM object leads to QMutex::lock: Deadlock
Forum Updated to NodeBB v4.3 + New Features

Querying iTunes COM object leads to QMutex::lock: Deadlock

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    daudrain
    wrote on last edited by
    #1

    Hi,

    I am developing an application that listens to iTunes playback information.

    Everything worked well until the application starts querying for the current track position. This position is communicated via signals.

    The position is queried by using a timer. The time executes the following code (iTunes is a QAxObject instance that has been successfully initialized):

    @
    QVariant variantPosition = iTunes->property("PlayerPosition");
    if (variantPosition.isValid())
    {
    if (variantPosition.toInt() != currentTrackPosition)
    {
    currentTrackPosition = variantPosition.toInt();
    }
    }
    @

    From a thread perspective, the timer is invoked on the same thread as events such as onPlayerPlayEvent, onSoundVolumeChangedEvent, etc...

    Did anyone face the same issue with iTunes COM ou an another COM API?

    Thx

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vivekmalik2466
      wrote on last edited by
      #2

      can u help me in this.
      i am able to read media info from disk and can get meta data of such media files with taglib .but now want to read itunes .Is there any 3rd party lib or any other thing that help to read such info from itunes or its itunes.xml.i want to get its track,audio book,podcast,play list and meta data of all this media.
      i thing u can help me in this problem.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sam
        wrote on last edited by
        #3

        The post is more than a year old and it seems that the creator is not an active participant, Kindly refer to the General Forum for further discussion.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved