itunes2subsonic

package module
v0.0.0-...-ab5c92c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2022 License: CC0-1.0 Imports: 5 Imported by: 0

README

itunes2ampache

Personal project for copying ratings between music instances.

Hiring folks, please don't judge me on this code. 😛

iTunes -> Subsonic

Copies ratings set in iTunes to a Subsonic server. Safe to run on an ongoing basis (although it cannot sync back to iTunes).

$ export SUBSONIC_USER=my_user
$ export SUBSONIC_PASS="my subsonic password"
$ go run gitub.com/logank/itunes2subsonic --itunes_xml="iTunes Music Library.xml" --subsonic="https://subsonic.example.com" --dry_run=false

Subsonic -> Subsonic

Copies ratings set in a Subsonic-compatible server to a different Subsonic server. Safe to run on an ongoing basis, but there is insufficient data to identify "newer" ratings so best used to sync in one direction.

$ export SUBSONIC_USER=navidrome_user
$ export SUBSONIC_PASS="my navidrome password"
$ export SUBSONIC_USER=ampache_user
$ export SUBSONIC_PASS="my ampache password"
$ go run gitub.com/logank/subsonic2subsonic --subsonic_src="https://navidrome.example.com" --subsonic_dst="https://ampache.example.com" --dry_run=false

iTunes -> Ampache

Copies ratings set in iTunes to an Ampache server. Safe to run on an ongoing basis (although it cannot sync back to iTunes).

Note Use itunes2subsonic instead; the Ampache API does not currently provide more advanced support.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LibraryPrefix

func LibraryPrefix(src, dst []SongInfo) (string, string)

LibraryPrefix finds the most likely library root for the given src and dst assuming that both libraries contain mostly the same music.

Note: All paths normalized to lower case.

func PbWithOptions

func PbWithOptions(p *pb.ProgressBar) *pb.ProgressBar

PbWithOptions applies options to a progressbar. I like the default, but the saucer is something that doesn't render well in my terminal.

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL