Awesome
F_streaming
This is an early version of f_streaming and some features does not work well.
Download
f_streaming can be downloaded in a compiled executable but the requirements are the same.
Donwload links:
Requirements
- ffmpeg is needed to run f_streaming and it has to have the libmp3lame, fdk_aac, libopus and libvorbis libraries.
-
A genius
acces_token
is required to use f_streaming. Check out Genius API to get one and set it in theparameters.json
. -
A Spotify
client_ID
andsecret_ID
are also required. Check out Spotify API to create them, then set them in theparameters.json
.
How to use f_streaming
The code can be compiled with pyinstaller to have an executable. Otherwise, use the code in main directory.
To use f_streaming follow the teps :
- Run f_streaming executable file/main.py.
- Enter your token genius and spotify in the parameters
- Enter your soundcloud or youtube link the textbar (do not forget to erase the Video URL part)
- Press enter or click the Download button
- Verify the metadata and edit if needed. Note that if the metadata are completly wrong you can research again by editing the title and artist field and pressing the Retry button.
- Press enter or click the Save button
Useful infos
-
F_streaming starts by downloading all the metadata of all the song at first and then display the metadata window so it might be a bit long to start. A good way to see if the data are still loading is to look at either the Download button if you clicked it or if the URL is still blinking.
-
The songs can be downloaded into mp3, AAC (.m4a) and ogg but right now only the mp3 will have the metadata tagged.
-
The cover art is downloaded in the album directory but also tagged to the mp3
-
Right now, the song can only be downloaded in the path specified in the parameters.json, however the root of the path is the directory of the executable file/main.py.
-
There is a black list of words for Genius API researches, it can be edited.
Notable bugs
- Sometimes Genius API times out, just try once again until it works.
Methods
F_streaming collects metadata from Genius thanks to lyricsgenius python library and research metadata from Youtube and Soundcloud thanks to Youtube-dl python library. Genres are collected thanks to Spotipy python library. Then ffmpeg is used to download and convert.