How to set all songs in Music app to start playing at a specific time?

Dear all,


What if I want to set ALL the songs in my Music App (on Mac) to start playing at a certain time. (e.g. start at 01:30), is there any trick I can do? (I know I can set inside the Music app but I have few hundred songs there I do not want to set one by one and there must be much efficient way)


Please help, thanks.

David


[Re-Titled by Moderator]

Posted on Mar 12, 2025 02:46 AM

Reply

Similar questions

12 replies

Mar 12, 2025 04:22 AM in response to Shek8964

Applescript is the best way. Google is your best bet. I found this fairly quickly so can't take credit for it, but I'm sure there are others around, possibly with more advice than I've got time to give you. This plays all the tracks in the playlist "My Playlist" from 90 seconds in for 6 seconds with a 0.5 second delay between tracks, so you just have to put your songs into a playlist called "My Playlist" or change "My Playlist" to the name of one of your playlists. Copy and paste this into a new file in Script Editor and hit the play button on at the top RHS


tell application "Music"
    set trackCount to count of tracks of playlist "My Playlist"
    repeat with i from 1 to trackCount
        play track i of playlist "My Playlist"
        set player position to 90
        repeat until player position ≥ 96
            delay 0.5
        end repeat
    end repeat
end tell



Mar 12, 2025 08:08 AM in response to Zurarczurx

Zurarczurx wrote:

If it works you can just run if from AppleScript when you need it (don't forget to save it once it works like you want it) or you can turn it into an app and run it from Applications. Google will help you work out how to do that if you want.


The other approach is to copy the .scpt file into ~/Library/Music/Scripts which lets it show up in an additional scripts menu in Music, making it really easy to use whenever you want it.


tt2

Mar 12, 2025 03:37 AM in response to Zurarczurx

Thanks for your reply.


I was not saying to play ALL songs at a time, instead I am trying to play each song, one by one, but each songs starts to play at a specific time.

That is kind of weird I know, but my purpose is to showcase each song (in my Music library) to the audience.


I definitely know that in Music app, we can set the starting time and stopping time of each song, but since I have few hundreds songs to showcase, if I have to set each song one by one, it's too much work. So, I am asking for help if there's any shortcut or scripts which can achieve my purpose with ease.

Mar 12, 2025 03:52 AM in response to Shek8964

You can write a Shortcut, Automation or Script to start playing a Playlist at a specific time but if you want each song to start at a specific time (i.e not just play sequentially) unless the spacing between the songs is constant than at some point you're going to have to type in the times.


BTW - how would you do this in Music by manually entering the start time? The Start Time and Stop Time of the song in the Options pane of the song's Info don't do this.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to set all songs in Music app to start playing at a specific time?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.