Closed yupi2 closed 7 years ago
5928a62 cleans up the callback stuff a bit along with adding ulx pplay
and ulx pstop
.
The wmcp.GlobalPlay()
and wmcp.GlobalStop()
functions were changed and renamed so they can work on select players or everyone.
I don't think I'll finish this.
Lot's of stuff changed/added:
wmcp
command toggles the UIulx gplay "url" "title"
(!gplay "url"
)ulx gstop
(!gstop
)!stop
in chat (although thewmcp_stop
command is what all the cool kids choose) for stopping media on yourselfulx gplay
is available then it is used for thePlay for Everyone
button (and the text is lightened if you don't have permission)WMCPMedialistRowRightClick
hook parameter changesTODO:
Add some code for the server to convert (and backup previous wmcp.txt) to use URLs as the media-table IDChange the column widths so we can have it all symmetricalMake the column headers use the disabled color (like it used before it was re-enabled)Decide if thewmcp_add
,wmcp_settitle
, and etc should be replaced with ULX versionsI didn't make any commits while testing so I basically had a lot of unrelated changes that weren't worth the time to split into multiple commits and now everything is just grouped together.
This isn't ready to be merged, but everything is error-free (AFAIK) so now just suggested changes + the TODO need to be finished