Giter Site home page Giter Site logo

tidal credentials ? about spotify_to_tidal HOT 8 CLOSED

timrae avatar timrae commented on June 5, 2024
tidal credentials ?

from spotify_to_tidal.

Comments (8)

zedug avatar zedug commented on June 5, 2024 3

the values are found specifically in AminurAlam's comment yaronzz/Tidal-Media-Downloader#797 (comment)

my changes are below, indeed at line 120, I used single quotes

#        self.client_secret = self.client_id
#        self.client_id = self.api_token
        self.client_secret = 'vRAdA108tlvkJpTsGZS8rGZ7xTlbJ0qaZ2K9saEzsgY='
        self.client_id = '7m7Ap0JC9j1cOM3n'

from spotify_to_tidal.

zedug avatar zedug commented on June 5, 2024

this is really a tidalapi issue

from spotify_to_tidal.

steakscience avatar steakscience commented on June 5, 2024

@zedug This is really helpful!

Where can I find the init.py?

from spotify_to_tidal.

steakscience avatar steakscience commented on June 5, 2024

Interesting part is this repo targets tidalapi 0.6.8
So I updated to tidalapi 0.6.9 which updates the secret values

However, this did not fix it

from spotify_to_tidal.

zedug avatar zedug commented on June 5, 2024

yes the values changed very recently so tidalapi 0.6.9 is not up to date
_ _ init.py _ _ is in the tidalapi package directory, wherever you installed it

from spotify_to_tidal.

steakscience avatar steakscience commented on June 5, 2024

@zedug Gotchu, what should this part be?

I tried values from the issue you linked, but I'm not sure I put them in the right format:

self.client_id = list((base64.b64decode("b4x3gVV8WXlEhGt5eIhkgWQuelsrhzmGRn5wgXZ/R1gy"
                                                "NERseEVDTnRGRU1CeGlwVTBsQmZyYnE2MD0=").decode('ISO-8859-1')))
        if save:
            token2.decode('ISO-8859-1').encode('utf-16')
            self.client_id = [x.encode('ISO-8859-1') for x in self.client_id]
        for word in token2:
            self.client_id.remove(word)
        self.client_id = "".join(self.client_id)
        # self.client_secret = self.client_id
        # self.client_id = self.api_token
        self.client_secret = "7m7Ap0JC9j1cOM3n"
        self.client_id = "owUYDkxddz+9FpvGX24DlxECNtFEMBxipU0lBfrbq60="

from spotify_to_tidal.

timrae avatar timrae commented on June 5, 2024

Oh I just bumped the version to 0.6.9, I thought it included the change to the client secret but you're right that version predates the most recent change

from spotify_to_tidal.

timrae avatar timrae commented on June 5, 2024

Fixed in the latest version of tidalapi, which I've added to the requirements file now

from spotify_to_tidal.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.