ZionDevelopers / playx

In-game Internet (YouTube, Twitch, SoundCloud, mp4 and etc.) media player for Garry's Mod
http://steamcommunity.com/sharedfiles/filedetails/?id=106516163
Other
18 stars 14 forks source link

Lua error upon attempting to play a video on PlayX #51

Closed DEG-Enigma closed 10 years ago

DEG-Enigma commented 10 years ago

I seem to be having problems getting PlayX to work. When I spawn in a player, and try to select media, it spits out a Lua error in console

TEST [lua/includes/modules/hon.lua][lua/includes/modules/concommand.lua]

[PlayX] lua/playx/playx.lua:440: attempt to call field 'SetCurrentMediaLength' (a nil value)

  1. BeginMedia - lua/playx/playx.lua:440
  2. OpenMedia - lua/playx/playx.lua:305
  3. unknown - lua/playx/playx.lua:587
  4. unknown - lua/includes/modules/concommand.lua:69

I'm not using the extracted version.

I don't have any addons that can interact/use PlayX.

I spawn a PlayX player, I go to spawn menu, options, administrate, I put in a youtube URL, click the Open Media button, and it spits out the lua error.

I've tried multiple URL's with multiple providers, and all of them spit out the same error.

Also, using the bookmarks page as an alternative yields identical results.

nexbr commented 10 years ago

what about chat commands? try: !playx videoURLHere and try the navigator too

nexbr commented 10 years ago

you are the second person to talk to me about this exact error. It is strange because to me works fine. Try clean your Garry's Mod: backup the addons, data, maps folders, then delete all other files and folders, then uninstall your garry's mod, install it back then copy back the addons, data and maps folders. That should fix any problem.

If after all that it give lua errors you must have some addons conflicting with PlayX, uninstall any Garry's Mod addon before 13, uninstall any unnecessary addons.

If still gives lua errors give me a list of your addons, one of those are conflicting with PlayX there is no other reason to PlayX give lua errors only to you.