Commit Graph

350 Commits

Author SHA1 Message Date
samuelmaddock
b7854a3dd9 fix: early URL polling js error 2023-07-10 01:23:43 -04:00
samuelmaddock
6cadade8aa refactor: code cleanup 2023-07-10 01:16:06 -04:00
Samuel Maddock
74fd3d8378
Merge pull request #55 from npc-servers/master
Fix Mediaplayer errors and url bar
2023-07-10 01:11:56 -04:00
Redox
a7201a3948
Move AddFunction to later callback 2023-06-30 13:34:12 +02:00
Redox
e8001765a4
Improve error catch 2023-06-24 23:03:18 +02:00
Redox
8db5dbd4b6
Disable keep alive 2023-06-24 15:03:20 +02:00
Redox
c8569ffcbf
Fix youtube not showing properly 2023-06-24 02:53:46 +02:00
Redox
d352044a63
Move AddWorkshop 2023-06-24 02:06:36 +02:00
Redox
3d342c804c
Add mediaplayer workshop 2023-06-24 02:05:19 +02:00
Redox
4ecf0504a6
Fix error 2023-06-24 01:52:40 +02:00
samuelmaddock
5104a68744 chore: add more descriptive error message 2023-02-28 16:12:05 -05:00
samuelmaddock
9cf510f939 fix: modernize http user agent
maybe fix youtube errors?
2023-02-28 16:01:05 -05:00
samuelmaddock
fbea320599 fix: undefined htmlentities_decode addon conflict 2023-02-28 16:00:24 -05:00
samuelmaddock
8eb62e2702 chore: add .gitattributes 2023-02-28 15:59:21 -05:00
samuelmaddock
09c6d1a89b chore: remove required agreement to ToS 2020-08-09 17:56:38 -04:00
Samuel Maddock
d32b723986
Merge pull request #34 from veitikka/no-yt-api
refactor(youtube): replace API with web scraping
2020-08-09 17:53:07 -04:00
samuelmaddock
8a63fcf274 chore(youtube): remove api key usage 2020-08-09 17:38:51 -04:00
veitikka
be841758b1
Wrap ParseYTMetaDataFromHTML function call inside a pcall
Replace HTML entity decoding with the already existing alternative
2020-08-08 12:58:43 +03:00
veitikka
57a9077187
Update SERVICE:ParseYTMetaDataFromHTML to check for broadcast end date
Move inner functions and tables outside of the function
Add HTML entity parsing for common symbols
Syntactic changes for consistency
2020-08-07 13:36:40 +03:00
veitikka
b687ed60f1
Fix typo in patterns table 2020-08-06 17:58:58 +03:00
veitikka
2346fa16af
Update SERVICE:ParseYTMetaDataFromHTML to use better sources for metadata 2020-08-06 16:17:30 +03:00
veitikka
a0c8835e6a
Update GetMetadata to not rely on youtube api
Update GetMetadata to not rely on youtube api and add rudimentary error handling
2020-08-05 20:35:22 +03:00
veitikka
de516602e8
Update SERVICE:GetMetadata to not rely on the API 2020-08-05 20:02:28 +03:00
samuelmaddock
6913fdba23 add go back link 2020-05-23 19:34:02 -04:00
samuelmaddock
0962b7029f Add ToS and privacy policy 2020-05-23 19:16:59 -04:00
samuelmaddock
027bd6a151 Fix error messages not being printed in chat 2020-02-02 03:06:03 -05:00
Samuel Maddock
6ecacec4dc
Update cl_init.lua 2019-02-23 02:37:29 -05:00
Samuel Maddock
f356fc4b91
Merge pull request #25 from Python1320/patch-1
Fix MediaPlayerAddListener hook
2019-02-23 02:27:08 -05:00
Python1320
3ab26d96f1
Update init.lua 2019-02-23 02:42:16 +02:00
samuelmaddock
d50e79d39a Add play unicode symbol to Media Player menubar item 2018-08-03 18:46:45 -04:00
samuelmaddock
9f95817e32 Hide sidebar when turning off all media players 2018-08-03 18:37:47 -04:00
samuelmaddock
795209d4f2 Remove Roboto fonts
These are already present in gmod
2018-08-03 18:34:49 -04:00
samuelmaddock
21abccc43b Add media player FGD 2018-07-28 01:48:44 -04:00
samuelmaddock
73d293c84f Fix DrawHTMLPanel erroring when Chromium material is nil 2018-07-28 01:33:23 -04:00
samuelmaddock
8aade87ccc Fix dupe text alignment 2018-07-28 01:21:06 -04:00
samuelmaddock
9a373fb22a Add entity I/O inputs: RemoveAllPlayers, ClearMedia
`RemoveAllPlayers` removes all players watching media.
`ClearMedia` clears all queued and active media.
2018-07-28 01:12:36 -04:00
samuelmaddock
8c0f22e504 Add 'Turn Off All' menubar action for Sandbox-based gamemodes 2018-07-28 01:03:36 -04:00
samuelmaddock
51d125cbd6 Add entity I/O inputs to mediaplayer_base entity
`AddPlayer` adds the activator to the list of media listeners.
`RemovePlayer` removes the activator from the list of media listeners.
`PlayPauseMedia` toggles the play or pause state of the current media.
`SkipMedia` skips the current media.

Shoutout to the Garry's Mod Jazztronauts gamemode which will be making
use of this. https://twitter.com/JazzSourceMod
2018-07-28 00:41:27 -04:00
Samuel Maddock
eca816079b
Update addon.txt 2018-03-24 14:50:04 -04:00
samuelmaddock
3ef6f3b83a Add idlescreen metastream ad 2018-03-24 00:59:52 -04:00
Samuel Maddock
af521f7fc0 Add html package-lock.json 2018-03-24 00:58:51 -04:00
Samuel Maddock
c7fb81dfb6 Add metastream request ad 2018-03-24 00:58:32 -04:00
Samuel Maddock
a2b8bb9696
Update client.lua 2018-03-12 22:21:03 -04:00
samuelmaddock
11fb49df3f Add MediaPlayerNotifyPlayer hook for overriding notifications 2017-07-15 19:10:25 -04:00
samuelmaddock
7e95bbc57e Add MediaPlayerIsPlayerPrivileged hook for overriding permissions 2017-07-15 18:50:09 -04:00
samuelmaddock
8d6b19c362 Fix Twitch API requests 2017-04-24 20:41:41 -04:00
samuelmaddock
73c3edc3da Removed CSS mounted check for small tv 2017-03-13 22:28:17 -04:00
Samuel Maddock
e09562a3d7 Merge pull request #13 from Noiwex/master
Use phx tv player model instead of CSS one. This removes CSS dependency.
2017-03-13 22:25:17 -04:00
samuelmaddock
e208424bcf Fixed browserpool not resetting panel after gmod update
Shoutout to CaveeJohnson for the original fix 🎉"
2017-03-13 22:18:58 -04:00
Sergei Ch
40adc2deba Use phx tv player model instead of CSS one. This removes CSS dependency. 2017-01-03 14:58:35 +03:00