Games: osu! and Beat Saber (preview)

The Games category of Which service? works both ways. As a source, pick the game, pick a list, and sync it to a playlist on any service Trackhop writes to. As a destination, a playlist from any service becomes something you can play in the game (see Playlists made for a game). Nothing from the game is downloaded: no beatmap, no map, no audio. As a source only the artist and title are read, matched on your service like any other song (game data has no ISRC, so matching goes by title and artist).

In every build: the Android app (Google Play included), Desktop and Docker. Both are marked preview: they use official APIs and work, but they have seen less use than the other connectors.

osu!

Official API v2. Each person uses their own OAuth application, as with Spotify’s own key:

  1. On osu! open Settings → OAuth and create a new application (any name; the callback address is not used). Copy its Client ID and Client secret.
  2. In Trackhop add osu! under Games. Enter your osu! username (or user id), and in the second field the Client ID and the secret as id:secret.

Trackhop asks only for the public scope (the client credentials flow): it never signs in as you and reads only what is public on your profile. Lists:

Titles are cleaned at the source: “(TV Size)”, “[Cut Ver.]”, “(Nightcore Mix)”, “-TV Size-“ and similar game labels are dropped, and “A feat. B” or “A vs. B” become separate artists. osu! allows 60 requests a minute; Trackhop spaces its calls a second apart.

Beat Saber

Read from the public APIs of ScoreSaber and BeatLeader: no account, no key.

  1. Add Beat Saber under Games.
  2. Paste your profile link on either site, or the player id (the long number in the link).

Lists: top plays and latest plays, from each site. A map played on several difficulties is one song. The song’s author is the artist; a custom map with no author has none, and the matcher goes by title. Only titles are read: Trackhop does not download maps.

Playlists made for a game

Choose a sync’s destination osu! or Beat Saber and a playlist from any service is looked up in the game’s catalogue, song by song, matched by title and artist like every other destination. A song with no map is reported as not found, as usual.

First pick the games folder once: on the phone, on the osu! or Beat Saber account page (Games folder, the system’s folder picker: the phone, Syncthing, Nextcloud, an SMB share…); on a Docker server or Desktop, the folder of the server in the same page, or gamesFolder in the settings (with Docker, mount a volume for it). Without it the sync stops at once and says so. Each playlist is rewritten after every sync that changes it, a song is added once, and a file Trackhop did not make is never overwritten: its name gets “(2)”.

Both are preview. The songs of a playlist already made are read back from what Trackhop remembers, not from the files.

Clone Hero and YARG songs (preview)

A source only. Add Clone Hero under Games and pick your songs folder once (on the phone the system’s folder picker, on Docker or Desktop a folder of the server, with Docker a mounted volume). Trackhop reads each song.ini below it (name, artist, album, song_length) and makes the playlist Clone Hero songs, plus one per folder of the first level (a setlist), to sync to a streaming service. Charts and audio are never touched, and the folder is never written to. A song with no name is skipped; rich-text tags such as <color=...> are dropped.

Radio for Euro Truck Simulator 2 and American Truck Simulator

These games read internet radio from live_streams.sii. On the page of a Radio connector (Accounts on the phone, the connector’s page on the server) pick the games folder, then Write live_streams.sii: your Trackhop radio stations are written as stream_data[n]: "URL|Name|Genre|Language|Bitrate|Favorite" entries. Copy the file to Documents/Euro Truck Simulator 2/ or Documents/American Truck Simulator/. An existing file is never overwritten: the new one is live_streams (2).sii. The games play http streams only (not https). Music itself cannot be synced to these games: they play local audio files.

Not (yet) done

See also: Sync playlists.

Back to the guide