Comments (10)
Thanks for the issue, sorry for my delayed reply! It's finals season over here. This should be addressed in 842ddc4; I swapped out the old login method for the TV-based login that RedSea does. I'll merge this to master in the next couple days after I update the README and do a little more testing.
I saw you were writing a GUI, and the new login method unfortunately involves some command-line interactivity, see this function:
Line 93 in 842ddc4
Feel free to PR to do this in a more modular way, it would be cool if the back-endish parts of mania could be easily reused with other interfaces.
from mania.
Nice. I tried testing it out and noticed it requires a HiFi subscription to function (I don't have one). Is this due to the new TV-based login system?
from mania.
I commented out the HiFi check in 2897d50, could you give that a try? I copied it over from RedSea without thinking too much about it, but I'm not sure what its purpose is... you would think a non-HiFi account would be able to log in using the same process and fetch lossy tracks. I don't have a non-HiFi account to test :P
from mania.
Looks like it can download lossy files now. Thanks!
from mania.
I sent a PR with a change to make the authentication system simpler for external clients.
from mania.
Looks like it can download lossy files now. Thanks!
Sweet! Out of curiosity, what happens when you request a track in lossless or MQA quality? Would be good to show an appropriate error in that case.
from mania.
-> mania url https://tidal.com/browse/track/101982419 --quality lossless
Loaded cached TIDAL session.
Downloading "Never Gonna Give You Up"...
8.23MB [00:01, 5.03MB/s]
Resolving metadata...
Skipping Never Gonna Give You Up.flac; received invalid file
Saving TIDAL session for future use...
Done!
from mania.
Oddly enough it does seem to download something, and it is actually playable if you stop mania before it deletes the track. It looks like mania just downloads a high quality lossy track instead.
from mania.
Thanks! Yeah, a silent fail is about what I expected. Added a proper error in 83ea107.
from mania.
Merged to master.
from mania.
Related Issues (8)
- Authentication is not working HOT 2
- i installed it as you said but how to open it and download the tracks please tell. i don't know programming. HOT 3
- Need to set requirement prompt_toolkit==1.0.14 HOT 2
- Couldn't fetch DOLBY ATMOS track. HOT 45
- Download by URL/ID HOT 2
- Broken login HOT 8
- How to add Year in the Album Title HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mania.