WordPress.org

Ready to get started?Download WordPress

Forums

HTML5 jQuery Audio Player
[resolved] Track Order in Playlist (12 posts)

  1. robertgerson
    Member
    Posted 2 years ago #

    In this player:
    http://garyguttmanmusic.com/testing-area-2/
    track order does not match order I am adding tracks to the playlist.
    This is the track order in the player and the "Manage Playlists" page:
    1- Bad and Beautiful
    2- Kaguya Hime
    3- The Alchemist

    but I added them to the playlist in this order:
    1- Kaguya Hime
    2- Bad and Beautiful
    3- The Alchemist

    Are there controls to reorder playlist?
    What determines playlist order?
    It looks like it is reordering tracks based on time length.

    Had problem on v 1.3, just loaded v1.4 and same issue.
    WP 3.4.1

    Other than playlist order the player functions correctly.
    Thank You,
    Robert

    http://wordpress.org/extend/plugins/html5-jquery-audio-player/

  2. robertgerson
    Member
    Posted 2 years ago #

    Restarted WP admin for this site and now the tracks in playlist load in the same as I'm adding them.

    Great plugin, suggest adding a drag and drop function to playlist manager to quickly change playlist track order.

    Thanks, robert

  3. Maeve Lander
    Member
    Plugin Author

    Posted 2 years ago #

    Weird glitch - good to know the refresh of WP admin fixed it for you.

    Cool idea about drag n drop playlist manager. Will definitely consider this for later releases. Thanks

  4. Yinka
    Member
    Posted 1 year ago #

    Hi. I am having this same issue re order. I have numbered tracks in a playlist but the order in which they appear seems totally dependent on the order i enter them. Can this be resolved because it seems strange that I can't change the playlist order manually or have the plugin put songs in logically order according to the way they are named.

    Also the javascript that should allow you to order tracks by heading in the admin panel seems not to work. In Firefox I get this error message - 'Firefox doesn't know how to open this address, because the protocol (javascrip) isn't associated with any program.' in Chrome nothing happens at all.

    I have about 6 playlists to do so it'd be great to get a fix for this.

    Also is there a way to add multiple files to a playlist at once - and then edit their names, etc. this would save me so much time.

    Finally what are the latest version of this plugin -
    free - 1.6
    pro 1.2
    is this correct?

    Cheers
    yinka

  5. Maeve Lander
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Yinka. The order of songs should be the order which you uploaded them. I know its not ideal, which is why in next major release (about 1-2 weeks away) there will be a drag n drop playlist manager. Seeing as there is no current functionality to order tracks in admin panel I'm not sure what JS you're referring to sorry.

    No, sorry no way to add multiple files at once. Maybe something to consider for later releases.

    Yep current versions 1.2 pro and 1.6 free

  6. Roogoyle
    Member
    Posted 1 year ago #

    I totally support a drag and drop, or drag and order system for this player! We just added it to our website which services multiple artists. Having this ability to more easily organize the order of playlists would be AMAZING! :D

  7. Yinka
    Member
    Posted 1 year ago #

    Thanks for the response. I definitely think that you should consider the multiple files suggestion for the next revision - it makes a lot of sense - playlisst contain multiple files - if as me and others, you have many playlists to add to your site it really slows you down to have to upload one file at a time. It's regular with image files so please try to implement this - it would be great!

  8. Maeve Lander
    Member
    Plugin Author

    Posted 1 year ago #

    Cool, yeah I'm excited about the drag n drop - it will definitely be a big improvement in terms of usability, especially for those with multiple playlists and more advanced requirements :-)

    @Roogoyle... I wonder if you might be able to post a link to your site? I haven't seen many examples of users who have good implementations of the pro version (multi-playlists) and it would be cool to see how you've utilised it?

  9. imnikkilee
    Member
    Posted 1 year ago #

    I'm having the same problem as the original poster, where when I upload songs, they are not appearing in the correct order as I have uploaded them.

    I know the original user said they did a refresh of the WP Admin. I'd love to try that but not sure what it means or how to do it?

    Any help would be great, thanks!

  10. Yinka
    Member
    Posted 1 year ago #

    I'm uploading 6 albums.
    I have found that I am having to upload the songs in REVERSE order now to make the playlists accurate. Any thoughts?

  11. Roogoyle
    Member
    Posted 1 year ago #

    @EnigmaWeb: Sure! If you check our site at http://www.dalespeaking.com our main page, and every 'Client' page has a player with their singles in them :)

    The 'Front Page' player changes regularly, and currently an older song is sitting at the top, while some of the newer songs are at the bottom...the 'last' song added to the playlist ends up last in the list, where in this case it should be first because it's newest :) A drag and drop 'ordering' system, or a way to organize the order after you've filled up the playlist would be great :)

  12. toddoli
    Member
    Posted 1 year ago #

    Hi all,

    I'm using v2.0 free version of the plugin and was just facing the same problem, perhaps with another actual behavior. Actually my database table wp_hmp_playlist is getting filled song by song with an incremental ID, but if I performed a SELECT * FROM wp_hmp_playlist, the result was not ordered by ID...strange.

    So my solution was to change line 426 from the plugin's "add_playlist.php" file located in the "playlist" folder of the plugin's root folder:
    From
    $sql = "SELECT * FROM $table";
    To
    $sql = "SELECT * FROM $table ORDER BY 'id' ASC ";

    ^
    |-- That's for the playlist's settings page but you'll have to do the same for the playlist's display so this time it's the "index.php" file located in the plugin's root folder and this time it's line 108 so again:
    From
    $sql = "SELECT * FROM $table";
    To
    $sql = "SELECT * FROM $table ORDER BY 'id' ASC ";

    Hoping it'll help you...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic