Releases: Ragnar-Oock/HeavyProjectMusic
hotfix
Timer time!
Added support for timer tags
You can now add an auto-updating timer on a tag. Just add the %TIME% keyword in the tag text and a UNIX timestamp in the tag's time parameter.
example:
{
"id": 3,
"type": "timer",
"time": 1571067751565,
"text": "absent for %TIME%",
"ariaLabel": "the user Jhon Doe is now absent for %TIME%",
"color": "4caf50",
"fontColor": "2408f0"
}
Added support for custom class by tag
You can now specify one or more CSS classes to add to the parent music item of the tag, similar to the VIP tag. To have any effect the customs classes should be added to the CSS file.
Other changes
- Tags now require a unique id within a music item.
- Change the autorefresh mechanic, the stream mode now refresh once a sec while the default value is once every 10 sec.
- Fixed a glitch in the music transition introduced in 0.4.7.
hotfix : Dom mirror list order
fix issue #4
fix missing logical test before trying to move an item resulting on to many update operation on each item even when the list doesn't change
hotfix : requester update
Add support for item requester update.
The requester name, color and badges collection can now be updated
Minor changes
Removed anime.js call in index.php as it's not used anymore
hotfix : tag list update
Add support for item tag update.
The tag list can be modified and will reflect on the UI with a similar, yet simpler, version of the main algorithm. No individual animation is played, all the tag list update at once with a fade to transparent effect
Minor change
The comparison between the previous and latest version of the list have bein remove as it was always reporting a difference because of the JavaScript object comparison being always false.
hotfix
fix animation not bein played on item deletion
hotfix : Stream Mode
a collection of little tweaks to the stream mode:
- force transition on the playlist height, the playlist item background-color, color, opacity, height, padding, margin, transform in order to make it work with the WebKit version of OBS
- add a level of shadow on the music requester (2px of outline instead of 1px)
- change the overall size of the UI by a factor of 2 for simpler scaling in OBS
hotfix
Fix junkiness on refresh
Add Edit capability
Fixed Issue #1
Allow for proper edit of the title and artist name of a music
The great fix
Fixed Issues #2
The sorting algorithm as bein reworked from the ground up, the display as bein updated to allow for much simpler item swap, add and delete.
All the processing as moved from the main file to a dedicated class for simpler maintenance.