General > Developers Corner

Reviving a dead addon! (RynO-SauruS's addon)

(1/1)

Janjakob2000:
Hello, I'm trying to revive this addon!
I've always wanted to have a youtube player that works independent, so it works on every gamemode, I've (kinda) fixed the play video command, which is only accessible by admins and higher, the sound plays now, and I got the box to showup to adjust the volume, but I also want the other functions to work aswell, and I'd love if someone could help me out with the errors it has :(

--- Code: ---[ERROR] addons/ulx_youtube_music_player/lua/ulx/modules/sh/youtube_music_player_sh.lua:47: attempt to index local 'calling_ply' (a nil value)
  1. getVideoLengthFromHTTPData - addons/ulx_youtube_music_player/lua/ulx/modules/sh/youtube_music_player_sh.lua:47
   2. unknown - addons/ulx_youtube_music_player/lua/ulx/modules/cl/youtube_music_player_cl.lua:126

--- End code ---

If anyone wants to support me on this one, I'd love you for the rest of my life, because I love youtube and music, I'll also leave a download down for anyone who wants the working- but a bit broken - version, or if you want me to help me revive this addon!

Aaron113:
http.Get was removed from gmod...  You have to rewrite it to work with http.Fetch.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given

[0] Board index

Go to full version