Garry's Mod

Garry's Mod

SoundCloud Player - Officially Dead
 This topic has been pinned, so it's probably important
MediCat  [developer] 20 Apr, 2017 @ 9:29pm
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.
Last edited by MediCat; 10 Apr, 2019 @ 9:05am
< >
Showing 1-15 of 57 comments
Kawsy 21 Apr, 2017 @ 2:31am 
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  [developer] 21 Apr, 2017 @ 2:46am 
Originally posted by MineSweGamer:
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 :)
biddin 21 Apr, 2017 @ 5:47am 
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  [developer] 21 Apr, 2017 @ 5:59am 
Originally posted by fug:
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
JkMenttonet 21 Apr, 2017 @ 2:01pm 
[CoundCloud Player] lua/scplayer/cl_player.lua:607: attempt to index upvalue 'stream' (a nil value)
1. unknown - lua/scplayer/cl_player.lua:607

AssassinSunny 21 Apr, 2017 @ 2:06pm 
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?
Last edited by AssassinSunny; 21 Apr, 2017 @ 2:07pm
JkMenttonet 21 Apr, 2017 @ 2:06pm 
[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)]
Valjua 21 Apr, 2017 @ 2:51pm 
Originally posted by AssassinSunny:
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
Righteous 21 Apr, 2017 @ 4:37pm 
[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
Kavanoid 21 Apr, 2017 @ 7:49pm 
Случился один баг чтоль с этим модом... Когда я нашел музяку и включил, я не мог выйти из менюшки scplayer'a. Пришлось на сервер перезайти.
MediCat  [developer] 21 Apr, 2017 @ 9:17pm 
Originally posted by XG Flight:
[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  [developer] 21 Apr, 2017 @ 9:19pm 
Originally posted by Creed:
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  [developer] 21 Apr, 2017 @ 9:21pm 
Originally posted by AssassinSunny:
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  [developer] 21 Apr, 2017 @ 9:27pm 
Originally posted by JkMenttonet21:
[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)]


Originally posted by JkMenttonet21:
[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?
< >
Showing 1-15 of 57 comments
Per page: 1530 50