Author Topic: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)  (Read 83276 times)

0 Members and 1 Guest are viewing this topic.

Offline pa1n

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #60 on: November 15, 2012, 07:22:22 PM »
Thank you so much.

Offline PAL-18

  • Full Member
  • ***
  • Posts: 142
  • Karma: 1
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #61 on: November 25, 2012, 01:45:37 PM »
This addon doesnt work  :(

When i try playing a video my console shows these errors:


[ERROR] ...ic_player/lua/ulx/modules/cl/youtube_music_player_cl.lua:124: attempt to call field 'Get' (a nil value)
  1. unknown - ...ic_player/lua/ulx/modules/cl/youtube_music_player_cl.lua:124

Timer Failed! [Simple][@addons/ulx_youtube_music_player/lua/ulx/modules/cl/youtube_music_player_cl.lua (line 122)]

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #62 on: November 25, 2012, 03:16:52 PM »
This addon doesnt work  :(

When i try playing a video my console shows these errors:


[ERROR] ...ic_player/lua/ulx/modules/cl/youtube_music_player_cl.lua:124: attempt to call field 'Get' (a nil value)
  1. unknown - ...ic_player/lua/ulx/modules/cl/youtube_music_player_cl.lua:124

Timer Failed! [Simple][@addons/ulx_youtube_music_player/lua/ulx/modules/cl/youtube_music_player_cl.lua (line 122)]

This ad-don currently wont work with Gmod 13 sorry. :(

I will be working on getting it into Gmod 13, but I am not 100% sure that it would work out because I have not messed around with using HTML elements in gmod 13 lua yet.
I cry every time I see that I am not a respected member of this community.

Offline pa1n

  • Newbie
  • *
  • Posts: 19
  • Karma: -1
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #63 on: November 29, 2012, 05:50:27 AM »
I guess this is not fixable? I contacted the original author but he never responded.

To the above poster I hope you get it working.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #64 on: November 30, 2012, 08:23:59 AM »
Here's "two" updates! (I actually coded 1.2 several months ago, and somehow forgot to post it :-[)

Important: You MUST remove the folder for the old version before installing this one!

Code: [Select]
UPDATE 1.3:
=Fixed: Videos not playing since the YouTube interface update.. Sorry this took so long!

UPDATE 1.2:
+Addition: "Play for all" and "Play client-side" options to the playlist right-click menu.
*Change: Changed some file names to reflect the current official name of this addon (it was initially called "ULX SongPlayer"). NOTE: This means you MUST delete the addon folder for the old version before installing this one!
*Change: The shared code is a LOT more clean and efficient, thanks to Megiddo's new logging system.

So does this work in Garry's mod 13 yet, or is their still stuff that needs fixing before it can work?
I cry every time I see that I am not a respected member of this community.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #65 on: December 01, 2012, 02:45:36 PM »
So does this work in Garry's mod 13 yet, or is their still stuff that needs fixing before it can work?
I will be working on getting it into Gmod 13

You tell us?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline ntdave71694

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #66 on: December 05, 2012, 07:04:48 AM »
Fixed :3

Not sure if I should attach it, but it's there.

-Changed http.Get to http.Fetch
-Fixed a timer

EDIT: Moved to Dropbox http://dl.dropbox.com/u/18804041/admin_ulx%20youtube.7z
« Last Edit: December 12, 2012, 01:02:35 AM by ntdave71694 »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #67 on: December 05, 2012, 09:26:13 AM »
Fixed :3

Not sure if I should attach it, but it's there.

Ryno hasn't been on the forums in almost a month, but I doubt he will mind.
Experiencing God's grace one day at a time.

Offline ntdave71694

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #68 on: December 05, 2012, 11:32:58 AM »
This time it works 100% :D

All of the things that broken were due to syntax changes in gm 13 (I didn't keep track).

EDIT: Moved to Dropbox http://dl.dropbox.com/u/18804041/admin_ulx%20youtube.7z
« Last Edit: December 12, 2012, 01:02:46 AM by ntdave71694 »

Offline Vizzy

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #69 on: December 09, 2012, 02:17:17 PM »
This time it works 100% :D

All of the things that broken were due to syntax changes in gm 13 (I didn't keep track). Anyways the file is attached below, enjoy :)

it does seem to work

i get

Code: [Select]
[ERROR] ...x youtube/lua/ulx/modules/cl/youtube_music_player_cl.lua:423: attempt to call global 'ValidEntity' (a nil value)
  1. fn - ...x youtube/lua/ulx/modules/cl/youtube_music_player_cl.lua:423
   2. Call - addons/ulib/lua/ulib/shared/hook.lua:168
    3. fn - addons/ulib/lua/ulib/cl_init.lua:54
     4. func - addons/ulib/lua/ulib/client/cl_util.lua:22
      5. unknown - lua/includes/modules/net.lua:31
when opening it sometimes using 'ulx music'


also the playlist reverts to blank after map change ;(
« Last Edit: December 09, 2012, 03:18:52 PM by Vizzy »

Offline ntdave71694

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #70 on: December 10, 2012, 10:40:36 AM »
Yeah I just noticed that the favorites list doesn't actually save the videos. I'll look at this today. As far as that list of errors...

Are you using the latest revision of ULX and ULib?

Offline Vizzy

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #71 on: December 11, 2012, 07:26:13 PM »
I dont believe so, maybe 1 revision old


Offline ntdave71694

  • Newbie
  • *
  • Posts: 7
  • Karma: 1
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #72 on: December 12, 2012, 12:57:28 AM »
I've fixed the playlist issue. I'm still not sure what the deal is with all those other errors you were getting  ???

Anyways here it is http://dl.dropbox.com/u/18804041/admin_ulx%20youtube.7z
« Last Edit: December 12, 2012, 01:13:57 AM by ntdave71694 »

Offline Vizzy

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #73 on: December 13, 2012, 04:16:32 PM »
I updated ulx to the latest and all is well

playlist saves too, thank you

Offline PAL-18

  • Full Member
  • ***
  • Posts: 142
  • Karma: 1
Re: Re: [SVN ULX/ULib only] YouTube music player (UPDATED: June 26th, 2012)
« Reply #74 on: December 20, 2012, 02:10:57 PM »
This addon is awesome!

Can you add the ability to associate volumes with specific urls (in the save list).