Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing metadata and disordered events from YouTube #299

Open
exbotanical opened this issue Feb 1, 2023 · 0 comments
Open

Missing metadata and disordered events from YouTube #299

exbotanical opened this issue Feb 1, 2023 · 0 comments
Assignees
Labels

Comments

@exbotanical
Copy link

I'm on arch running the following command while playing YouTube videos (Brave browser)

playerctl -F metadata -f '{{title}}\{{artist}}\{{status}}\{{position}}\{{mpris:length}}\{{mpris:artUrl}}'

Whenever I switch to a new video by clicking on the thumbnail, I notice two things:

  • the mpris:artUrl metadata goes missing
  • messages appear [ostensibly] out-of-order. I know YouTube does some weird stuff with iframes, so maybe this is just on them

Here's sample output. You can see when I change the video, YouTube sends 'paused' events, then sends several events from the new video, a few more from the old one, then finally the new video with missing metadata.

If I stop the command and re-run, I start seeing all of the metadata again.

John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets | Lex Fridman Podcast #309\Lex Fridman\Playing\13474271363\18890421000\https://i.ytimg.com/vi/I845O57ZSy4/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBc5zZWSdlrUqdTCZlYSa0DTJ3V0w
John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets | Lex Fridman Podcast #309\Lex Fridman\Playing\13475272147\18890421000\https://i.ytimg.com/vi/I845O57ZSy4/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBc5zZWSdlrUqdTCZlYSa0DTJ3V0w
John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets | Lex Fridman Podcast #309\Lex Fridman\Playing\13476273245\18890421000\https://i.ytimg.com/vi/I845O57ZSy4/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBc5zZWSdlrUqdTCZlYSa0DTJ3V0w
John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets | Lex Fridman Podcast #309\Lex Fridman\Paused\13476693117\18890421000\https://i.ytimg.com/vi/I845O57ZSy4/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBc5zZWSdlrUqdTCZlYSa0DTJ3V0w
John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets | Lex Fridman Podcast #309 - YouTube\\Paused\13476891468\18890421000\
John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets | Lex Fridman Podcast #309 - YouTube\\Paused\13476946162\18890421000\
John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets | Lex Fridman Podcast #309\Lex Fridman\Paused\13476693117\18890421000\https://i.ytimg.com/vi/I845O57ZSy4/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBc5zZWSdlrUqdTCZlYSa0DTJ3V0w
Donald Knuth: Algorithms, Complexity, and The Art of Computer Programming | Lex Fridman Podcast #62\Lex Fridman\Paused\13476693117\18890421000\https://i.ytimg.com/vi/2BdBfsXbST8/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAChpgVJ0JV1__8wHWVbV5mjOrhPg
Donald Knuth: Algorithms, Complexity, and The Art of Computer Programming | Lex Fridman Podcast #62\Lex Fridman\Paused\0\6356000000\https://i.ytimg.com/vi/2BdBfsXbST8/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAChpgVJ0JV1__8wHWVbV5mjOrhPg
Donald Knuth: Algorithms, Complexity, and The Art of Computer Programming | Lex Fridman Podcast #62\Lex Fridman\Playing\35\6356000000\https://i.ytimg.com/vi/2BdBfsXbST8/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAChpgVJ0JV1__8wHWVbV5mjOrhPg
Donald Knuth: Algorithms, Complexity, and The Art of Computer Programming | Lex Fridman Podcast #62\Lex Fridman\Playing\119544\6355541000\https://i.ytimg.com/vi/2BdBfsXbST8/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAChpgVJ0JV1__8wHWVbV5mjOrhPg
Donald Knuth: Algorithms, Complexity, and The Art of Computer Programming | Lex Fridman Podcast #62\Lex Fridman\Playing\266206\6355541000\https://i.ytimg.com/vi/2BdBfsXbST8/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAChpgVJ0JV1__8wHWVbV5mjOrhPg
Donald Knuth: Algorithms, Complexity, and The Art of Computer Programming | Lex Fridman Podcast #62\Lex Fridman\Playing\268739\6355541000\https://i.ytimg.com/vi/2BdBfsXbST8/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAChpgVJ0JV1__8wHWVbV5mjOrhPg
Donald Knuth: Algorithms, Complexity, and The Art of Computer Programming | Lex Fridman Podcast #62\Lex Fridman\Playing\268924\6355541000\https://i.ytimg.com/vi/2BdBfsXbST8/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAChpgVJ0JV1__8wHWVbV5mjOrhPg
John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets | Lex Fridman Podcast #309 - YouTube\\Playing\399\6355541000\
John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets | Lex Fridman Podcast #309 - YouTube\\Playing\620001665\6355541000\
Donald Knuth: Algorithms, Complexity, and The Art of Computer Programming | Lex Fridman Podcast #62 - YouTube\\Playing\620061574\6355541000\
Donald Knuth: Algorithms, Complexity, and The Art of Computer Programming | Lex Fridman Podcast #62 - YouTube\\Playing\620224014\6355541000\
Donald Knuth: Algorithms, Complexity, and The Art of Computer Programming | Lex Fridman Podcast #62 - YouTube\\Playing\620036663\6355541000\
Donald Knuth: Algorithms, Complexity, and The Art of Computer Programming | Lex Fridman Podcast #62 - YouTube\\Playing\621006863\6355541000\
^C

Please let me know if there's any additional information I could provide. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants