Comments (5)
@simonmannsfeld i pulled a new cookie from an incognito session and it seems to have resolved itself.
Just using a normal google account and you're right - it might have been related to the outage.
Very weird but looks resolved!
from ytube_music_player.
nope .. at least no what causes this .. if the playlist won't return the amount of track ('count' - field) I'll call the get_playlist method with that playlist ID. This fails but is out of my code space. I can create a hot fix by moving this line into the try/catch which should work around the issue and return a fix number of 25 for the failing playlist. But I'll also forward this ticket to the guys of ytmusicapi.
Thanks for reporting
edit: please update and try again. Is it working?
from ytube_music_player.
@KoljaWindeler that worked! thank you!
from ytube_music_player.
Weird. Worked perfectly for 8 hours today then restarted home assistant and got this
Traceback (most recent call last): File "/config/custom_components/ytube_music_player/media_player.py", line 396, in _update_playlists self._playlists = self._api.get_library_playlists(limit = 99) File "/usr/local/lib/python3.8/site-packages/ytmusicapi/mixins/library.py", line 29, in get_library_playlists results = find_object_by_key(nav(response, SINGLE_COLUMN_TAB + SECTION_LIST), File "/usr/local/lib/python3.8/site-packages/ytmusicapi/parsers/utils.py", line 148, in nav raise err File "/usr/local/lib/python3.8/site-packages/ytmusicapi/parsers/utils.py", line 142, in nav root = root[k] KeyError: 'contents'
Back to "loading" playlist status!
from ytube_music_player.
@lowgoz I just want to point out something.
Short time before of your reported issue, many youtube and google servers were down. Can you proof that this was not the problem?
To your error: It seems like you do not have any playlist at your google account. Can you proof that you're not using a brand-account for youtube music?
Check out this issue: Issue 18
from ytube_music_player.
Related Issues (20)
- Can't get anything to play, playlist is fetched, error upon starting. HOT 1
- Deprecated methods in use (2024.5.0) HOT 1
- unable to select_option media player, error in line 36
- New Playlist Entity value not saved permanently HOT 3
- Media player is stopping after one song of a playlist chosen with the new SELECT entity HOT 7
- Please select a player before start playing, e.g. via the 'media_player.select_source' method or in the settings/config_flow HOT 6
- No Sound at all HOT 1
- Playlist plays in random order, seemingly no way to disable shuffle HOT 1
- Skip Track Using Remote HOT 2
- No matching entities found even though I have my usb audio connected and recognized by home assistant HOT 2
- Unfortunately we hit an error, please open a ticket - Integration no Longer Working HOT 2
- Γchec de l'appel du service media_player/turn_on. 'NoneType' object has no attribute 'state' HOT 4
- Songs stop playing after one track + media picture not shown HOT 13
- Start playing music with integration, control via phone apps? HOT 1
- New Update Error Uploaded Artists HOT 1
- Can't get YouTube Music to play on either Acrylic or Sonos HOT 1
- Error executing script. Unexpected error for call_service at pos 2: can only concatenate str (not "NoneType") to str HOT 11
- The playlist does not play.
- pytube.exceptions.RegexMatchError: map_functions: could not find match for multiple HOT 14
- Get map_functions: could not find match for multiple HOT 1
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 ytube_music_player.