https://github.com/forceu/gmusic_export
Export Google Music Takeout Data to Airsonic Servers
https://github.com/forceu/gmusic_export
Last synced: 8 months ago
JSON representation
Export Google Music Takeout Data to Airsonic Servers
- Host: GitHub
- URL: https://github.com/forceu/gmusic_export
- Owner: Forceu
- License: gpl-3.0
- Created: 2020-10-26T22:10:48.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-28T20:25:01.000Z (over 5 years ago)
- Last Synced: 2025-04-09T20:10:48.868Z (about 1 year ago)
- Language: Python
- Size: 24.4 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gmusic_export
## Export Google Music Takeout Data to Subsonic Based Servers
This script allows you export your playlists and liked songs to your subsonic based servers (eg. Airsonic or Funkwhale). The songs already need to be present at the server.
### Prerequirement
This script requires [py-sonic](https://github.com/crustymonkey/py-sonic). The easiest way to install it is with `pip3 install py-sonic`
#### Usage
To use it, first you must modify the server url and credential variables at the top of the script. Then you call the script with python3:
`python3 gmusic_export.py -s /home/user/googletakeout/`
This will star all songs that have an CSV file in the folder googletakeout
`python3 gmusic_export.py -p "Nice songs" /home/user/googletakeout/`
This will add all songs that have an CSV file in the folder googletakeout to the new playlist "Nice Songs"
If any items fail (eg. cannot be looked up at the server), a copy of the CSV file will be placed in a subfolder named "failed" located in the folder where the script was called.