* Return complete titles when split on time-like strings:
```diff
>>> yt.get_playlist("PLaZPMsuQNCsWn0iVMtGbaUXO6z-EdZaZm")["title"]
-03 Jan
+03 Jan 12:09
```
* `test_get_playlist`: assert more props have the expected value/shape
Co-authored-by: sigma67 <sigma67.github@gmail.com>
* Fix duration parsing for very long videos sigma67#660
* parse duration only when digits are present
* explicit return None
* Add test for track dur > 1k hrs
* fix#656: attempt to find runs in subtitle if not in title
* refactor
* remove fix by gotofritz
---------
Co-authored-by: sigma67 <sigma67.github@gmail.com>
* fix#642: create_playlist: raise error when invalid characters are part of playlist title
* add test
* fix CI helper
* fix CI helper
* adjust workflow
* fix(playlists): get_playlist trackCount incorrect for playlists with more than 1k tracks
This ensures that the regex doesnt just return the first group in 1000+ long playlists.
* feat+fix(playlist_tests): Update playlist ID and add new track count test
* fix tests
---------
Co-authored-by: RealCalumPlays <calumplays666+github@gmail.com>
Co-authored-by: sigma67 <sigma67.github@gmail.com>
* add unit test that attempts to retrieve a song after its been uploaded
* prevent parsing errors when an uploaded song lacks a duration
* update unit test to delete/re-upload song if it already is uploaded
* format
* fix test
* add another sleep to end2end playlist
---------
Co-authored-by: sigma67 <ytmusicapi@gmail.com>
* Fix parsing of album and views in parse_playlist_items
Parse album and views columns as a function of flex column count and is_album property to cater for varying layouts with three and four flex columns
* Add "own_playlist" attribute to playlists
To allow for an easy distinction between owned / editable and community / non-editable playlists,in applications incorporating ytmusicapi, a boolean "own_playlist" dictionary entry is added to playlists based on existing code already identifying this property.
* Add thumbnails to episodes
Add thumbnails to episodes for visual rendering in Kodi etc.
* Add unit test for playlist "own_playlist" attribut
Add unit test for playlist "own_playlist" attribut
* Improvements as requested
- rename attribute for own playlists to playlist("owned")
- filter out episode thumbnails with an non-functional URL
* Fix linter in test_playlists.py
Fix test for playlist["owned"]
* Auto-Formatting on playlists.py
* format parsers/podcasts.py
* Remove filtering of podcast thumbnails
No idea why I had seen useless images for those thumbnails before - maybe Google fixed something to make them work?