Garry's Mod

Garry's Mod

227 ratings
gMusic Player
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
128.591 KB
1 Nov, 2017 @ 12:07pm
10 Sep, 2022 @ 10:23am
11 Change Notes ( view )

Subscribe to download
gMusic Player

Description
A Gmod Music Player inspired by the Vocaloid Menu Player which is also based on Garry's Mod Music Player made by Declivity.

As I never found any trace of the original vocaloid radio I decided to make one myself, well probably it's more than a vocaloid player, which has some other useful features.

Also this addon has no conflict with the music players mentioned above so feel free to use as many as you wish.

Warning: A new update it's in the works, so expect bugs (especially on server mode) with this current version

Features
  • Seek Bar
  • Serverside and Clientside Control
  • Play/Pause/Stop Song
  • Loop Active Song by right-clicking the Pause Button
  • Resizable Panel ( bottom-right )
  • Supports .mp3 .wav and .ogg files
  • Customizable song directory folders

    Context Button
  • Open the music player by clicking the context button
  • Pause/Unpause song by right clicking the context button
  • Loop/Unloop song by middle clicking (works with mouse 4 too)

How to Use
  • Press F3 to open/close the player. ( can be disabled in the settings )
  • You can change the toggle key by typing in console: bind yourkey gmplshow

How to add songs
  1. Press the settings wheel icon near the close button.
  2. Click on the Music Dirs button from the right side menu
  3. Select the folders on the list which that contain audio files
  4. Press the top-left button to add them to the right list
  5. They should now show up on the right list
  6. Switch back to the music list and you should see your songs

    ( these instructions also appear on the top )
WARNING: Do NOT add mp3/wav files directly in the /sound folder because those will be ignored. Create a folder inside the sound folder and put the songs in it and then select this folder in the music player.
NOTE: IF the garrysmod/sound folder is missing then create it.

Console commands
  • gmplshow - show/hide the player
  • gmpl_vol { 0 - 100 } - controls the volume slider
  • gmpl_svadminplay { 0 | 1 } - allows only admins to play songs serverside
    (non-admins can listen to them)
  • gmpl_svadmindir { 0 | 1 } - allows only admins to add/remove song directories
  • gmpl_nohotkey { 0 | 1 } - disables the F3 hotkey
  • gmpl_cmenu { 0 | 1 } - disable/enable the context menu button (top-right)

Planned Features
  • Update the freaking preview SCREENSHOT to reflect other buttons and some changed visuals.
  • Making use of the in-game music volume slider ( works only for .wav files though)
  • Adding a playback speed option ( maybe )
  • Support for ID3v1 tags
  • Feature for autoplaying next songs ( Most likely this is the next feature i'm gonna add)
  • Adding a Favorites Section ( probably this will be client side only but on servers it might reset)
  • Lower the volume if somebody is talking (customizable)
  • Checkbox to disable clientside songs ( handy for server with admin only host)
  • Support for playing url links and maybe seeking too
  • Support for playing music/url links at a specific point ( maybe )

Bugs / Feature Request
If you found a bug post it in the Bugs Discussion or on the Github Page[github.com] along with the lua error shown in console.
Also if you have an idea for a feature post it in the Feature Request Discussion.
Popular Discussions View All (6)
40
25 Apr, 2022 @ 2:42pm
PINNED: Bugs
RedSigma
5
28 Oct, 2020 @ 9:33am
gmusic player is making errors
kefir
1
7 Mar, 2024 @ 3:09am
Some of my songs keep getting not on disk error
Sandbox Enjoyer Jerry
148 Comments
Die_ananaswandtapete 26 Feb @ 8:56am 
ok, thanks
RedSigma  [author] 26 Feb @ 8:45am 
@Die_ananaswandtapete: it works with any mp3 file. Just make sure it's in the same folder as the other and the filename doesnt have weird characters.
Die_ananaswandtapete 22 Feb @ 12:02pm 
Because I downloaded only 1 mp3 file straight from a website, and the rest doesn´t work because i got it from youtube, though, I don´t see how that could be a problem
Die_ananaswandtapete 22 Feb @ 12:00pm 
Does it work when an mp3 file is installed from youtube or does it only work if it´s downloaded?
Die_ananaswandtapete 22 Feb @ 11:46am 
ohhhh, my bad
Thanks
RedSigma  [author] 22 Feb @ 6:38am 
@Die_ananaswandtapete: The file doesnt exist or it has weird letters in it.
Die_ananaswandtapete 21 Feb @ 5:07am 
It keeps saying "Not On Disk!"
What am I doing wrong?
RedSigma  [author] 2 Feb @ 1:55pm 
Guesseur09125: I believe it is possible via steamworks, but most of the time servers have the audio files included with the maps, so it's pretty much redundant. And imo I think people can abuse it to have user auto-download any kind of files.
Guesseur09125 GGDROP 2 Feb @ 12:10pm 
@RedSigma do you have an idea to make player have the files getting placed by himself with a content or script that i put in the collection ?
RedSigma  [author] 2 Feb @ 6:06am 
@Guesseur09125: Players need to have the same music file in their folder as well. Read the `How To add songs` section from the description.

Also i recommend to not have weird symbols in the filename but just numbers and letters.