matthieugrieger / mumbledj

A Mumble bot that plays audio fetched from various media sites.
MIT License
170 stars 59 forks source link

Music doesn't start playing when I add a song. #30

Closed AmalieNot closed 9 years ago

AmalieNot commented 9 years ago

So I installed it (using Go 1.4.1), as well as installing ffmpeg and mercurial.

However, when I add a song, the music doesn't start playing. It seems to know the song is there, but is not playing it. image

After reading other issues, I made sure gopus and goprotobuf were installed. However, that does not seem to have fixed the issue.

I'm sure I'm doing something wrong, but do you know how to fix it?

matthieugrieger commented 9 years ago

@hamilton5: That first playlist URL you gave works fine for me. The second one, however, did produce a crash and that should be fixed now.

@evanjohnman, @AmalieNot: Try building MumbleDJ with the latest release. The way that dependencies are handled and built is different now, so it might fix your problems (fingers crossed). Just make sure to install openal beforehand (I believe it should be sudo apt-get install libopenal-dev on Ubuntu) or else the compile will not work.

@bontibon: I added goop to handle dependency management. Thanks again for the suggestion, I like this much better.

AmalieNot commented 9 years ago

I get nearly identical vomit with this latest build

bufio.(_Reader).Peek(0xc20800a6c0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/bufio/bufio.go:132 +0xf0 net/http.(_persistConn).readLoop(0xc2080be0b0) /usr/local/go/src/net/http/transport.go:842 +0xa4 created by net/http.(*Transport).dialConn /usr/local/go/src/net/http/transport.go:660 +0xc9f

goroutine 11 [select]: net/http.(_persistConn).writeLoop(0xc2080be0b0) /usr/local/go/src/net/http/transport.go:945 +0x41d created by net/http.(_Transport).dialConn /usr/local/go/src/net/http/transport.go:661 +0xcbc

hamilton5 commented 9 years ago

uh... my make retured this (I need openal now too!?):

go get github.com/nitrous-io/goop goop update make: goop: Command not found make: *\ [mumbledj] Error 127

matthieugrieger commented 9 years ago

@hamilton5: You don't have your $PATH variable set correctly. You need to append $GOPATH to it. And yes, you need OpenAL because the dependency manager downloads it and compiles it. It may be used in the future so it would be good to have it anyway.

@AmalieNot: Are you copying your build outputs from screen? I think some of your logs are getting cut off because of that, so it's kinda hard to find the issue.

Pao-Lumu commented 9 years ago

I'm sorry I haven't been on for a while. Projects for class, etc. I'll not be back for a while, unfortunately. Though I may be able to work on it over the weekend.

matthieugrieger commented 9 years ago

@evanjohnman No worries! I'm at a busy time at school as well.

jakexks commented 9 years ago

If you're having trouble building mumbledj I built and packaged it into a docker container. You can run my build by installing docker then running: docker run --rm -it jakexks/mumbledj -cert="/crt.crt" -key="/key.key" -server=[your server] -port=64738 -username=MumbleDJ -password="" -channel=root

matthieugrieger commented 9 years ago

@AmalieNot, @evanjohnman: Do you two still experience issues? No worries if you haven't gotten the chance to try it out once more. I'm just curious.

matthieugrieger commented 9 years ago

Closing due to inactivity. If there are still issues, please feel free to let me know!

AmalieNot commented 9 years ago

Hey -

The docker solution is working, but I'm still having issues if I try to run it otherwise.

Sorry for the inactivity. I've been trying to stay afloat with grading for my class, since they have midterms soon. My university has spring break next week, though, so I'll probably try it out again then.

matthieugrieger commented 9 years ago

@AmalieNot: Cool, glad it is working one way or another. :)

No need to worry about response times!

ogkinetic1 commented 9 years ago

Can anyone please help me? I'm trying to install MumbleDJ and after I type makeinstall i get this error... $ make install mkdir -p ~/.mumbledj/config mkdir -p ~/.mumbledj/songs if [ -a ~/.mumbledj/config/mumbledj.gcfg ]; then mv ~/.mumbledj/config/mumbledj.gcfg ~/.mumbledj/config/mumbledjbackup.gcfg; fi; /bin/sh: 1: [: -a: unexpected operator cp -u config.gcfg ~/.mumbledj/config/mumbledj.gcfg if [ -d ~/bin ]; then cp -f mumbledj* ~/bin/mumbledj; else sudo cp -f mumbledj* /usr/local/bin/mumbledj; fi; cp: cannot stat ‘mumbledj’: No such file or directory make: _\ [install] Error 1

hamilton5 commented 9 years ago

ogkinetic1 why would you put that in this 'Music doesn't start playing when I add a song.'?

You had no problems building mumbledj the bin is in the folder? what shell are you using?