You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documenting all the changes here since the general list is huge to include in a commit description.
Src : the 2K+ LOC is now 7K+ LOC.
Prod : everything comes under 150kilobytes (excluding imsc) if not lesser thanks to minification+bundling, in comparison v5 took around the same amount (including imsc) and 40kb (excluding imsc) without minification+bundling.
New
Much more robust error cases handling thanks to typescript
Ability to View Playlists
Ability to Load More Items in search
Ability to handle unresponsive audio fetching
NodeJS / NPM
Vite
Client Side Routing for Navigation
Autoprefixer
Play Previous Action is now implemented using a dynamic streamHistory global variable.
A High Contrast Mode for theme.
Clear Queue (don't know why I didn't add it before given how simple it was)
Now items click brings up SuperModal instead of playing the item directly, superModal comes with various handy actions.
Updates
Revamped Theming Engine with four color schemes instead of two
Light
Dark
White (High Contrast Light)
Black (High Contrast Dark)
Support for system theme
Safer Service Worker provided by vite-plugin-pwa
Better use of UI space
ListItem component is now streamItem for streams and listItem for channel & playlists
Views , Subscribers and Author Avatar are now visible
Autoplay is now Radio and it is a lot more efficient than it ever has been. Previously I used an custom algorithm which searched playlists with the name+author of the current playing stream and then collected the most common streams appearing in those playlists, these were then added to the queue. But that changed when I tried to implement mixes support, after i learned about the way piped provides mixes, I immediately experimented with it. After much iterations I figured out a really efficient way to generate streams. Now we directly fetch mix playlist version of the current playing stream and get items for the queue.
Updates to the playback controller
Extensive Code Modularization. Thanks to vite bundling, I took more liberty in that.
Better UI indication of remove from queue
superModal adds support for adding items to queue.
Fixes
Shuffle implementation has been improved, instead of shuffling the array before and them mimicing the dom elements to the array, we shuffle the dom elements before and then mimic the array to it. This eliminates inconsistencies between array & dom and in turn removes buggy queue behaviour.
Sensible Pwa caching (update on update), is a big plus because my own implementation was a pain in the ass. I'm still terrified there might be ytify users who use ancient versions of the app when newer versions exist.
fixed thumbnail bug where thumbnail was being stored from last stream for startup thumbnail when thumbnails were turned on.
Removed
Subtitles are removed sadly due to incompatibilities of IMSCJS with the Vite/TS infrastructure, we might re-add it when it adds types to it's source and or modernizes it's codebase. Edit : RC1 : Subs are back now overcoming the previous obstacles on top of that the imsc library (which is huge : 143kb) is now only loaded on demand to save on resources.
All query params other than '?s' (read stream) have been removed in favor of simplicity. Edit : beta 3 : search query q & f now included.
Playlist Link support because they are now supported by searching.
documentationImprovements or additions to documentation
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Src : the 2K+ LOC is now 7K+ LOC.
Prod : everything comes under 150kilobytes (excluding imsc) if not lesser thanks to minification+bundling, in comparison v5 took around the same amount (including imsc) and 40kb (excluding imsc) without minification+bundling.
New
Updates
Fixes
Removed
Edit : RC1 : Subs are back now overcoming the previous obstacles on top of that the imsc library (which is huge : 143kb) is now only loaded on demand to save on resources.
Edit : beta 3 : search query q & f now included.
Beta Was this translation helpful? Give feedback.
All reactions