joelamos / sourceradio Goto Github PK
View Code? Open in Web Editor NEWStream music from YouTube while playing games on Steam
Home Page: http://steamcommunity.com/groups/source-radio
License: GNU General Public License v3.0
Stream music from YouTube while playing games on Steam
Home Page: http://steamcommunity.com/groups/source-radio
License: GNU General Public License v3.0
I tried to launch the program with csgo and tf2 but it return this error :
Exception in thread "main" java.lang.RuntimeException: The path to the game's directory is incorrect.
at com.joelchristophel.sourceradio.ScriptWriter.writeScripts(ScriptWriter.java:39)
at com.joelchristophel.sourceradio.Playlist.initialize(Playlist.java:157)
at com.joelchristophel.sourceradio.Playlist.(Playlist.java:143)
at com.joelchristophel.sourceradio.Playlist.getInstance(Playlist.java:124)
at com.joelchristophel.sourceradio.Playlist.main(Playlist.java:93)
with the latest version of windows and java i get a virtual machine error stating a java exception has occured.
I checked my credentials and they're exactly where the mysql.exe is located and for some reason when I request a song, Tftune stops working and the commands won't work anymore
It says that i have the latest version even i uninstalled it
can you help? pls. Now it's not going foward on the Youtube_DL.exe it fails it can't connect
Exception details:
`Exception in thread "main" java.lang.NullPointerException
at com.jeolchristopel.sourceradio.Game.getCfgPath(Game.java:96)
at com.jeolchristopel.sourceradio.ScriptWriter.writeScripts(scriptWriter.java:39)
at com.jeolchristopel.sourceradio.Playlist.intialize(Playlist.java:172)
at com.jeolchristopel.sourceradio.Playlist.<init>(Playlist.java:158)
at com.jeolchristopel.sourceradio.Playlist.getInstance(Playlist.java:139)
at ``com.jeolchristopel.sourceradio.Playlist.main(Playlist.java:97)`
Yes, I did install it correctly.
Also, why do you need 2 initialization functions?
(You can tell I only know C++ can't you ;P)
If I try to request a song with a _ in the video id (works fine by name) it won't play.
Several users have reported this error:
Unhandled Exception: System.NotSupportedException: Stream does not support seeking.
at System.IO.BufferedStream.get_Position()
at CSCore.Tags.ID3.ID3v2.SkipTag(Stream stream)
at CSCore.Codecs.MP3.DmoMp3Decoder.ParseForMp3Frames(Stream stream, Boolean enableSeeking)
at CSCore.Codecs.MP3.DmoMp3Decoder..ctor(Stream stream, Boolean enableSeeking)
at CSCore.Codecs.MP3.Mp3WebStream.BufferProc(Object o)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
There's no way for me to directly fix this, as the source of the error resides in a third-party library. The fix will come when CSCore 1.2 is released.
When someone tries to request a song it will still play, but it will overlap with any current song, never adding to the queue, just spitting out this error: (I have restarted my system, SourceRadio, and TF2.)
java.lang.IllegalArgumentException: Negative delay.
at java.util.Timer.schedule(Unknown Source)
at com.joelchristophel.sourceradio.Song.start(Song.java:219)
at com.joelchristophel.sourceradio.Playlist.handleNewSong(Playlist.java:519)
at com.joelchristophel.sourceradio.Playlist.handleNewInput(Playlist.java:243)
at com.joelchristophel.sourceradio.LogReader$1.run(LogReader.java:96)```
Hey there, I'm new to this program and I've gotten this error:
Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: value
at CSCore.SoundOut.WasapiOut.set_Device(MMDevice value)
at AudioController.AudioController.ChooseOutput(String nameFragment)
at AudioController.AudioController.Main(String[] args)
Is there something I can do to fix this? If it's really simple please help anyway because I Don't usually do programming myself so I am struggling right now!
java.lang.RuntimeException: ERROR: Signature extraction failed: Traceback (most recent call last):
at com.joelchristophel.sourceradio.Song.createSong(Song.java:169)
at com.joelchristophel.sourceradio.Playlist.handleNewInput(Playlist.java:226)
at com.joelchristophel.sourceradio.LogReader$1.run(LogReader.java:96)
at java.lang.Thread.run(Unknown Source)
This means that you cannot put videos such as Rick Astley - Never Gonna Give You Up in the queue.
i cannot skip or everything else, even tried to put my steam id3, nothing worked, i can play songs fine but i can't stop or skip them, all the commands wont work
I've uninstalled my copy of SourceRadio (poor install ruined everything, intending to re-install later) and now my game repeatedly unbinds certain keys (Spacebar, B, the left arrow, and M to be specific) for apparently no reason.
It only happens when I turn the game off and back on. Rebinding the keys keeps them working for the rest of the session.
Is there any way I can make this stop happening?
The program works great on TF2, but I get this error when testing on CSGO:
java.lang.NullPointerException
at java.util.regex.Pattern.<init>(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.lang.String.replaceFirst(Unknown Source)
at com.joelchristophel.sourceradio.LogReader.getChatSender(LogReader.java:158)
at com.joelchristophel.sourceradio.LogReader.getInput(LogReader.java:142)
at com.joelchristophel.sourceradio.LogReader.access$9(LogReader.java:122)
at com.joelchristophel.sourceradio.LogReader$1.run(LogReader.java:78)
at java.lang.Thread.run(Unknown)
This happens with any/every command and on Valve, community and local servers.
Screenshot:
**** SourceRadio v2016.08.03 ****
Enter the game you're playing. (Options: tf2, csgo, l4d2)
csgo
Exception in thread "main" java.lang.RuntimeException: The path to the game's directory is incorrect.
at com.joelchristophel.sourceradio.ScriptWriter.writeScripts(ScriptWriter.java:39)
at com.joelchristophel.sourceradio.Playlist.initialize(Playlist.java:157)
at com.joelchristophel.sourceradio.Playlist.(Playlist.java:143)
at com.joelchristophel.sourceradio.Playlist.getInstance(Playlist.java:124)
at com.joelchristophel.sourceradio.Playlist.main(Playlist.java:93)
C:\Program Files (x86)\SourceRadio>cmd /k
C:\Program Files (x86)\SourceRadio>
steam path -> D:\Program Files (x86)\Steam
java.lang.NullPointerException
at com.joelchristophel.sourceradio.Playlist.handleNewInput(Playlist.java:228)
at com.joelchristophel.sourceradio.LogReader$1.run(LogReader.java:96)
at java.lang.Thread.run(Unknown Source)
I've tried everything, no idea what's going on D:
I have tried the command in
Hello there,
Just saying I really love the program, gets everyone together and such, but there's this really big issues where after a few minutes (or even seconds), this error spews out and nothing works from then on.
java.lang.NullPointerException
at com.joelchristophel.sourceradio.Playlist.isAdmin(Playlist.java:655)
at com.joelchristophel.sourceradio.Playlist.handleNewInput(Playlist.java:156)
at com.joelchristophel.sourceradio.LogReader$1.run(LogReader.java:103)
at java.lang.Thread.run(Unknown Source)
There's also another issue where, on lots of servers I go on, admins and such are unable to control the music to due their [Admin] tag in their name. Is there any way to circumvent this or will it be in the next update?
Thanks,
~Chaotix_
Hi again.
I have installed Tf2 to my second hdd ( D:\
) and ofc installed all my games too it.
SourceRadio - provided this input; -g tf2 -f D:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2
) - does not detect a tf2 install.
How am I meant to provide the -f
param?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.