memen45 / SubMusic

Sync music and podcasts to your Garmin watch from your own SubSonic or Ampache server
GNU General Public License v3.0
110 stars 11 forks source link
ampache ampache-api connect-iq garmin garmin-connect garmin-watch music nextcloud podcast subsonic subsonic-client

SubMusic

Synchronize playlists from your own music server: Nextcloud - Subsonic - Ampache - Airsonic - Plex

Features:

How to use

Set up Synced Playlists Choose from synced playlists Enjoy your music

How to set up

You need a music server supporting either the Ampache API or the Subsonic API and a compatible Garmin Watch. Check the Garmin App store.

== Nextcloud ==

In the connect iq app settings, choose 'Ampache API' for the 'API backend' option. Install, enable and open the owncloud/music app (v0.15.1 or higher). In Settings copy the URL for the Ampache endpoint and paste it into the connect iq app settings. The URL should look like the following: "https://example.nextcloud.com/apps/music/ampache", no trailing slash. Now enter a Description (e.g. "Garmin SubMusic") and Generate API password to enable a new access for the Ampache API endpoint. Enter your username and the generated password in the connect iq app settings.

The music app does not transcode music, so supported file types are MP3, MP4, ADTS and WAV files. Only MP3 has been tested, support for the other formats is in beta. Please report issues!

== Ampache ==

Requires Ampache version 4.2.0 or higher. For older versions you can enable the SubSonic backend in System settings in the Ampache web UI and select Subsonic API in the connect iq app settings. Choose Ampache API in the Connect IQ app settings and fill in the url, username and password accordingly.

== Subsonic/Airsonic ==

Supported. Just choose Subsonic API in the Connect IQ app settings and fill in the url, username and your password accordingly.

== Plex ==

Should be supported now including transcoding. Make sure you enable remote access inside Plex, then login through plex.tv and follow these instructions to obtain the server address and the API key. The Server Address should look like https://ip-adress.somehashvalue.plex.direct:32400/, where ip-address and somehashvalue are unique for your situation. Now head to Connect IQ app store, choose Plex API in the SubMusic app settings and fill in the Server Address and API key you found. Enjoy your music!

Known issues

Below a list of known 'issues'. These are problems that cannot be fixed by design of either the watch software or the API backends chosen.

General - 'Error -300' or 'Error 0': first check the server address for typos. If using HTTP, enable HTTPS on your server.

SubSonic API - no more than ~25 songs on a playlist, due to Subsonic API and watch limitations. Do you get 'Error -402' during sync? Remove some songs from the playlist.

Nextcloud - does not support transcoding, so supported file types are MP3, MP4, ADTS and WAV files. Other file types will be skipped (shows a 'need sync' in playlist overview).

== Support ==

If you use the "Contact Developer" option, please make sure to attach your email address to the message so I can reply. You can also go to https://github.com/memen45/SubMusic on GitHub and open an issue.