Coder Social home page Coder Social logo

opentidl's People

Contributors

jackfagner avatar smiba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opentidl's Issues

ETag/If-None-Match Header

Hi,
Great API. I've noticed an issue when I try and add a track to an existing playlist. This might affect any POST request but I've not tested fully as yet.

It looks like the request to add the track needs the If-None-Match header adding in. Without it the request fails.

The value of this seems to be the ETag value given when a playlist is requested via GetPlaylist.

LoginWithUsername -> Client not found

Hi,

running the LoginWithUsername Method like I used to fails with "Client not found" error message. But in the TIDAL App it reports that another service is logged in.

OpenTidlClient client = new OpenTidlClient(ClientConfiguration.Default);
var newAcc = await client.LoginWithUsername("XXX", "XXX");

Am I doing it wrong?
Cheers!

Examples or simple documentation - please

Hello. I am writing this request because I want to use this epic repo in my big project, the project will be based on playing songs in the one jukebox virtual room which will be controlled by multiple people.

But, I cannot find how the Tidal authorization system works, so I cannot assume how this repo works. Please, can you help?

It would be really great.

Thanks in advance.

Playlist - Add track from local track ID...online track ID in playlist changes!? [Region Issue]

Hi there,
I'm seeing a really weird intermittent bug...I'm not sure why it's happening. This isn't necessarily anything in your code...I just need to figure out why it's happening! ๐Ÿค•

I carry out a track search (e.g. Range Life Pavement) and get some results:

track ID : 58085907
title: Range Life
album: Quarantine The Past: Greatest Hits 1989-1999

I then push this track ID to my playlist but the track ID I end up with online is:

track ID: 14831266
title: Range Life
album: Crooked Rain Crooked Rain

it happens seemingly randomly on lots of different songs. Sometimes the chosen trackID is added, sometimes it's switched...

Playlist Visibility

Hi,
Me again! I'm noticing that although my request to change the visibility of a playlist between Public and Private is seemingly successful, the setting isn't actually reflected at all when I reload the Playlist.

I have the custom method added in the OpenTidlSession class:

public async Task<EmptyModel> UpdatePlaylistVisibility(String playlistUuid, bool isPublic, string ifNoneMatch = "")
        {
            Dictionary<string, string> additionalHeaders = new Dictionary<string, string>();
            if (ifNoneMatch != String.Empty)
            {
                additionalHeaders.Add("If-None-Match", ifNoneMatch);
            }

            return HandleResponse(await RestClient.Process<EmptyModel>(
                RestUtility.FormatUrl("/playlists/{uuid}", new
                {
                    uuid = playlistUuid
                }), new
                {
                    sessionId = SessionId,
                    countryCode = CountryCode
                }, new
                {
                    publicPlaylist = isPublic
                }, "POST", additionalHeaders));
        }

Have you managed to successfully switch public/private on a playlist? I'm wondering if the request needs to be a PATCH or PUT request? Like I say, the above gives me a 200 OK response but the change isn't reflected at all.

Publish to NuGet

Hi, sorry for creating an issue - it's the only way to contact a user.
First - thank you very much for open sourcing this library. I am using it in a couple of projects now. It is really great!
Would you consider publishing it to NuGet.org, or another NuGet host (e.g. MyGet?)
It would make it easier to create projects that depend on OpenTidl.
If not - would you mind if I publish my forked version?

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.