v3.0.0
版本发布时间: 2020-07-31 07:45:26
Dniel97/RedSea最新发布版本:v3.1.0(2020-08-30 06:39:14)
RedSea v3.0.0 with a complete Login System and some major quality of life improvements
Installing
After every release (or after the message ModuleNotFoundError: No module named 'xyz'
) I recommend to install/update the requirements.txt
using pip install -r requirements.txt
to install/update the needed packages.
Login system
The Login System now features two different login methods:
- TV: You recieve a 6 digit key which you should enter on https://link.tidal.com to link your device to your Tidal Account. Keep in mind that you can't download Dolby Atmos AC-4 or Sony 360 Reality Audio. (Thanks to @shahzoorali for helping me)
- Mobile: You need to enter your username/email and your password to create a session. Inside the
config/settings.py
file are two Tokens, the first token labeled MQA can be used for FLAC, MQA and Sony 360 RA, the second token labeled Dolby Atmos AC-4 enables the Dolby Atmos streaming. So if you just want MQA, Sony 360 RA uncomment the MQA token and comment the Dolby AC-4 token.
Run python redsea.py auth add
to add a session, you can also create a TV session and a Mobile session using the same account if you want and give both a different [NAME]. With the command python redsea.py -a [NAME] [URL]
you can easily select a different already created session.
Presets
Inside the config/settings.py
file are several presets with the same options each. The newly added options are convert_to_alac
and lyrics
.
-
convert_to_alac
requires the installation of ffmpeg and converts FLAC files to ALAC for better iTunes integration and UPC/explicit tags. -
lyrics
requires lyricsgenius and enables embedding the lyrics from GENIUS in .flac and .m4a. Keep in mind that enabling this option slows down the tagging process.
Tagging changes
When convert_to_alac
is set to True
the explicit and UPC tags from Tidal are written inside the ALAC files. (Flac don't support these tags). Now RedSea supports Track name, Album, Artist, Recorded date, Volumes, Track position, Cover, ISRC, Copyright, Lyrics (if enabled). Everything else should be identical between FLAC and ALAC. There are some bugs: if an album is using multiple volumes the total tracks aren't working correctly.
File support
Now RedSea supports .txt files with a link every line. So instead of pasting 400 links in one command line you can now enter all the links to a [FILE].txt file, where every line has only a single link (album/artist/track link). The file can then be executed with python redsea.py -f [FILE].txt
or python redsea.py --file [FILE].txt
.
Region-locked
Sometimes a song or album is region-locked, then just change the COUNTRYCODE
inside config/settings.py
to the specific country where the song or alum could be streamed.
failed_tracks.txt
When some links won't work at all or there is some exception the links are added to the failed_tracks.txt
. Where I can take a look at them and see why they won't work.