Garry's Mod

Garry's Mod

SoundCloud Player - Officially Dead
 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
MediCat  [kehittäjä] 20.4.2017 klo 21.29
Bug reports
Here is the place to your bug reports.

WARNING!!!
Effective July 1, all requests that result in access to a playable stream are subject to a limit of 15,000 requests per any 24-hour time window. Currently, this is inclusive of all requests that are made to /tracks/:id/stream.
After a previous time window has expired, a new time window starts from the first request made.
The majority of SoundCloud API rate limits are in the form of 24-hour time windows.
SOURCE[developers.soundcloud.com]
So every single track that runs from every client counts. If we reach 15k plays in 24hours - the addon will not stream any music for up to one day. If you see the player frame with track art, title and author name, but stream doen't play and position stays at 0:00 - we have hit the limit of plays and now there is nothing to do but wait until this timer expires.

Update: April 2019 here, this still happens :(
Update: When GMod moves to chromium (literal upgrade to the in-game html thing) I'll post a completely reworked version of this addon, which will not be limited by 15k plays thing and will be overall more optimized in every way.
Viimeisin muokkaaja on MediCat; 10.4.2019 klo 9.05
< >
Näytetään 1-15 / 57 kommentista
Try and make it remember the window placement as its currently going back to default location once it starts playing the next song. otherwice awesome addon(Favorited)
MediCat  [kehittäjä] 21.4.2017 klo 2.46 
MineSweGamer lähetti viestin:
Try and make it remember the window placement as its currently going back to default location once it starts playing the next song. otherwice awesome addon(Favorited)
Already working on it, I'll release update with it today :)
I still can't get this mod to run properly. I haven't found any errors in the console relating to this mod. I've uninstalled PatchPlay multiple times, and it doesn't appear to do anything. Could ULX possibly interfere with this mod? Or other mods that break this one?
MediCat  [kehittäjä] 21.4.2017 klo 5.59 
fug lähetti viestin:
I still can't get this mod to run properly. I haven't found any errors in the console relating to this mod. I've uninstalled PatchPlay multiple times, and it doesn't appear to do anything. Could ULX possibly interfere with this mod? Or other mods that break this one?
I'd say that problem is in your other mods. I advise you to:
- check if this mod is enabled in in-game addon manager
- disable all other mods and try this again
[CoundCloud Player] lua/scplayer/cl_player.lua:607: attempt to index upvalue 'stream' (a nil value)
1. unknown - lua/scplayer/cl_player.lua:607

The addon does not appear when I hold C or type scplayer in the console. I tried restarting the game or disable all of my addons except this one, but the addon still does not appear. Any ideas?
Viimeisin muokkaaja on AssassinSunny; 21.4.2017 klo 14.07
[CoundCloud Player] lua/scplayer/cl_player.lua:296: Tried to use invalid object (type Panel) (Object was NULL or not of the right type)
1. SetText - [C]:-1
2. unknown - lua/scplayer/cl_player.lua:296

Timer Failed! [CurTrackTime][@lua/scplayer/cl_player.lua (line 287)]
AssassinSunny lähetti viestin:
The addon does not appear when I hold C or type scplayer in the console. I tried restarting the game or disable all of my addons except this one, but the addon still does not appear. Any ideas?
same
[ERROR] lua/scplayer/cl_browser.lua:258: attempt to get length of global 'cl_playlists' (a boolean value)
1. load_track - lua/scplayer/cl_browser.lua:258
2. onsuccess - lua/scplayer/cl_browser.lua:117
3. unknown - lua/includes/modules/http.lua:35
The music kept playing after i exit the game, i had to exit steam to make it stop it

idk why
Случился один баг чтоль с этим модом... Когда я нашел музяку и включил, я не мог выйти из менюшки scplayer'a. Пришлось на сервер перезайти.
MediCat  [kehittäjä] 21.4.2017 klo 21.17 
XG Flight lähetti viestin:
[ERROR] lua/scplayer/cl_browser.lua:258: attempt to get length of global 'cl_playlists' (a boolean value)
1. load_track - lua/scplayer/cl_browser.lua:258
2. onsuccess - lua/scplayer/cl_browser.lua:117
3. unknown - lua/includes/modules/http.lua:35
Did you hover 'add to playlist' button while you had no playlists, right? If so, the fix is on it's way.
MediCat  [kehittäjä] 21.4.2017 klo 21.19 
Creed lähetti viestin:
The music kept playing after i exit the game, i had to exit steam to make it stop it

idk why
Me too, lel
Are you sure that hl2.exe process has been finished? Report here if this happens again please.
MediCat  [kehittäjä] 21.4.2017 klo 21.21 
AssassinSunny lähetti viestin:
The addon does not appear when I hold C or type scplayer in the console. I tried restarting the game or disable all of my addons except this one, but the addon still does not appear. Any ideas?
Are you playling singleplayer?
MediCat  [kehittäjä] 21.4.2017 klo 21.27 
JkMenttonet21 lähetti viestin:
[CoundCloud Player] lua/scplayer/cl_player.lua:296: Tried to use invalid object (type Panel) (Object was NULL or not of the right type)
1. SetText - [C]:-1
2. unknown - lua/scplayer/cl_player.lua:296

Timer Failed! [CurTrackTime][@lua/scplayer/cl_player.lua (line 287)]


JkMenttonet21 lähetti viestin:
[CoundCloud Player] lua/scplayer/cl_player.lua:607: attempt to index upvalue 'stream' (a nil value)
1. unknown - lua/scplayer/cl_player.lua:607

Fixed both, but what happened with player, when the first bug appeared?
< >
Näytetään 1-15 / 57 kommentista
Sivua kohden: 1530 50