Giter Club home page Giter Club logo

sourceradio's Issues

Negative Delay Error

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)```

The path to the game's di rectory is incorrect.

**** 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

SourceRadio wont recognize me as admin

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

Output device name is null

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!

The path to the game's directory is incorrect

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)

can't install SourceRadio

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 in main thread.

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)

Stream does not support seeking

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.

java error

with the latest version of windows and java i get a virtual machine error stating a java exception has occured.

NullPointerException when removing chat pattern

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:
a061f486438d786cb965e0ac0ff2b668

Non-default path to game folder. ( Cannot find cfg folder )

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?

Could not log in to the MySQL server.

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

Something breaks the program + Extra Issue

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_

Buttons repeatedly unbind

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?

Attempting to queue un-embeddable videos results in an error

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.

NullPointerException when trying to use !song

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

  • A local server
  • Server with other players
    (Nobody had the same name, and the chat is not affected by a plugin.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.