Git Product home page Git Product logo

tidal-async's People

Contributors

fumr-bot avatar juniorjpdj avatar renovate-bot avatar todo-actions[bot] avatar tpmkranz avatar wvffle avatar

Stargazers

 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

tidal-async's Issues

TidalObject Cache

We should consider caching creating instances of child classes of TidalObjects.
First thing that came to my mind is just caching TidalObject.from_id calls but again - I'm not sure if it should be done like this.
That would be an easy way.

TidalSession.logout

Android app doesn't send any request when clicking "Log out" button
Do we need this?


This issue has been automatically created by todo-actions based on a TODO comment found in tidal_async/session.py:180. It will automatically be closed when the TODO comment is removed from master.

Unit tests!

  • login process (not sure how to do this - it's interactive oauth2)
  • session refreshing
  • Track
    • loading track info
    • downloading tracks
    • track lyrics (no lyrics support atm)
    • track metadata generation
  • loading album info
    • listing tracks from albums
  • loading playlist info
    • listing tracks from playlists
  • loading artists
    • listing albums from artists
  • loading cover arts
  • parsing URLs
  • searching (first we need search)
  • extracting client_id from Tidal Android .apk
  • TidalMultiSession tests (what kind of?)
  • caching TidalObject creation
    • caching of tracks
    • caching of albums
    • caching of playlists
    • caching of artists

This issue has been automatically created by todo-actions based on a TODO comment found in tests/test_tidal_async.py:8. It will automatically be closed when the TODO comment is removed from master.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Preset caused unexpected error (config:recommended)

Find more audio modes

Until we can fill whole Enum it will still be used as a string.


This issue has been automatically created by todo-actions based on a TODO comment found in tidal_async/api.py:30. It will automatically be closed when the TODO comment is removed from master.

Handle ratelimit

Today I got this.

aiohttp.client_exceptions.ClientResponseError: 429, message='Too Many Requests', url=URL('https://api.tidal.com/v1/tracks/38184307/lyrics?countryCode=GB')

Unit tests!

  • login process (not sure how to do this - it's interactive oauth2)
  • session refreshing
  • Track
    • loading track info
    • downloading tracks
    • track lyrics
    • track metadata generation
  • loading album info
    • listing tracks from albums
  • loading playlist info
    • listing tracks from playlists
  • loading artists
    • listing albums from artists
  • loading cover arts
  • parsing URLs
  • searching
  • extracting client_id from Tidal Android .apk
  • TidalMultiSession tests (what kind of?)
  • caching TidalObject creation
    • caching of tracks
    • caching of albums
    • caching of playlists
    • caching of artists

This issue has been automatically created by todo-actions based on a TODO comment found in tests/test_tidal_async.py:9. It will automatically be closed when the TODO comment is removed from master.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/lint.yml
  • actions/checkout v4
  • actions/setup-python v5
  • pre-commit/action v3.0.1
.github/workflows/tests.yml
  • actions/checkout v4
  • actions/setup-python v5
  • Gr1N/setup-poetry v9
  • actions/cache v4
.github/workflows/todos.yml
  • actions/checkout v4
pep621
pyproject.toml
  • poetry >=0.12
poetry
pyproject.toml
  • python ^3.7
  • aiohttp ^3.6
  • music-service-async-interface 2bc9cd8a1fda0486f325e127e4d7e80a5b0fedcf
  • androguard ^3.3.5
  • http-seekable-file v0.3.0
  • pre-commit ^2.12
  • pytest ^6.2
  • pytest-asyncio ^0.15

Dependency not found

~[Downloads]/t/tidal-async on master ❯ poetry install                                         at 15:48:44
Creating virtualenv tidal-async-6aH-m42I-py3.9 in /home/dedesvik/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies... (2.0s)

  RuntimeError

  The dependency name for http-seekable-file does not match the actual package's name: httpseekablefile

  at ~/.poetry/lib/poetry/puzzle/provider.py:291 in get_package_from_directory
      287│         )
      288│
      289│         if name and name != package.name:
      290│             # For now, the dependency's name must match the actual package's name
    → 291│             raise RuntimeError(
      292│                 "The dependency name for {} does not match the actual package's name: {}".format(
      293│                     name, package.name
      294│                 )
      295│             )

How are you supposed to install and use this anyway? I just want my X-Tidal-Token...

MPEG DASH support

Tidal seems to migrate to DASH for their music streaming.
Instead of JSON manifest file encoded into Base64 there's .mpd XML file which seems to play just fine using ffplay.
Copying this into container-less FLAC format will be neccessary.
ffmpeg is doing this just fine with this cmdline:

$ ffmpeg -i tidal.mpd -c:v copy -c:a copy output.flac
[..]
Input #0, dash, from 'flac.mpd':
  Duration: 00:06:06.00, start: 0.000000, bitrate: 0 kb/s
  Program 0 
  Stream #0:0: Audio: flac (fLaC / 0x43614C66), 44100 Hz, stereo, s16, 505 kb/s (default)
    Metadata:
      variant_bitrate : 918113
      id              : 0
Output #0, flac, to 'output.flac':
  Metadata:
    encoder         : Lavf58.76.100
  Stream #0:0: Audio: flac (fLaC / 0x43614C66), 44100 Hz, stereo, s16, 505 kb/s (default)
    Metadata:
      variant_bitrate : 918113
      id              : 0
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
[..]

Generic iterator

Now we have very similar code in Album.tracks, Playlist.tracks and Artist.albums


This issue has been automatically created by todo-actions based on a TODO comment found in tidal_async/api.py:19. It will automatically be closed when the TODO comment is removed from master.

TidalSession.logout

WTF, android app doesn't send any request when clicking "Log out" button


This issue has been automatically created by todo-actions based on a TODO comment found in tidal_async/session.py:118. It will automatically be closed when the TODO comment is removed from master.

audioMode


This issue has been automatically created by todo-actions based on a TODO comment found in tidal_async/api.py:110. It will automatically be closed when the TODO comment is removed from the default branch (master).

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.