News

  • Authored on
    Body

    It's weird how janky Shortcuts is at getting what you are currently listening to. I've never gotten the actual Music shortcuts to work on desktop. There is an option for getting what is currently playing with a Shazam shortcut but that doesn't give you the album name.

    Shortcuts does run Applescript though. I did a little searching and found the script for getting what you are listening to. Very cool how quickly it grabs the result.

    tell application "Music"
        if player state is playing then
            set currentTrack to current track
            set albumName to album of currentTrack
            set artistName to artist of currentTrack
            set albumYear to year of currentTrack
            set albumGenre to genre of currentTrack
            return "Currently listening to: \"" & albumName & "\" by " & artistName & " (" & albumYear & ", " & albumGenre & ")"
        else
            return "Music is not currently playing."
        end if
    end tell

    Getting this working is inspiring me to use Applescript more with Shortcuts in the future.

  • Authored on
    Body

    It went from hoodie to jacket here all of a sudden. It's almost hoodie in the sun, jacket in the shade but not quite. Winter is knocking. I will answer the door but will only talk with it at the entrance. Not quite "please come in" level yet. Autumn is still hanging out at our place.

Feeds

Current Pencil

Text
  • Hardness: F
  • Maker: Standard Products Craftsman Pencil

Upcoming Shows

Recent Listens

  • Africa Oscura
    Giuliano Sorgini
    Four Flies, #Soundtrack
  • Organ-izing
    Mel Rhyne
    Riverside, #Jazz
  • Love Changes Everything
    Dirty Three
    Drag City, #Indie
  • The Toshiko Trio
    Toshiko Akiyoshi
    1201 Music, #Jazz
  • Habana
    Roy Hargrove
    Verve Music Group, #Jazz
  • The Stargate Tapes: 1979-1982
    Emerald Web
    Kat Epple, #Electronic
  • Wonderland
    Demdike Stare
    Modern Love, #Electronic
  • Boss Guitar
    Wes Montgomery
    Fantasy, #Jazz
  • Popular Electronics: Early Dutch Electronic Music 1956-1963
    Dick Raaijmakers, Henk Badings, Kid Baltan, Tom Dissevelt
    Basta Audio-Visuals, #Electronic
  • Out to Lunch!
    Eric Dolphy
    Blue Note, #Jazz