https://github.com/webrror/songfer
A python tool to retrieve album arts and transfer songs from Spotify to YouTube Music.
https://github.com/webrror/songfer
music nogui python python-script script spotify spotify-playlist spotipy spotipy-library ytmusic ytmusicapi
Last synced: 4 months ago
JSON representation
A python tool to retrieve album arts and transfer songs from Spotify to YouTube Music.
- Host: GitHub
- URL: https://github.com/webrror/songfer
- Owner: webrror
- Created: 2022-08-22T17:14:11.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-20T16:58:31.000Z (10 months ago)
- Last Synced: 2024-08-20T19:18:47.649Z (10 months ago)
- Topics: music, nogui, python, python-script, script, spotify, spotify-playlist, spotipy, spotipy-library, ytmusic, ytmusicapi
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Songfer
##### Tested on Ubuntu 20.04, WSL (Ubuntu 22.04.1 LTS) and macOS 12
A python tool to retrieve album arts and transfer songs from Spotify to YouTube Music.## Prerequisites
- [Python with pip](https://www.python.org/downloads/)
- [Spotipy](https://spotipy.readthedocs.io/en/master/)
```
pip3 install spotipy
```
- [ytmusicapi](https://ytmusicapi.readthedocs.io/en/latest/) (For Spotify to YouTube Music transfer)```
pip3 install ytmusicapi
```
> [!NOTE]
> #### Make sure to also follow [this](https://ytmusicapi.readthedocs.io/en/latest/usage.html#authenticated) part of the ytmusicapi if you want to transfer songs## Usage
Run the following command
```
python3 songfer.py
```## Some issues you might encounter
- ### Browser not opening for auth while using Songfer on WSL
#### As of Ubuntu 22.04, `wslu` isn't a default package. This allowed you to open link in default Windows browser.
Setting the BROWSER variable to point to installation path of browser on Windows might help fix this issue:```
export BROWSER=/mnt/c/path/to/your/windows/browser
```Example to set MS Edge
```
export BROWSER=/mnt/c/Program\ Files\ \(x86\)//Microsoft/Edge/Application/msedge.exe
```- ### If you find any, let me know
## Credit