Coder Social home page Coder Social logo

musicmachineserver's People

Contributors

denravonska avatar johannilsson avatar sunkencity avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

vijayeluri

musicmachineserver's Issues

Playing the winning second song always leads to TimeoutException

When Music Machine tries to play the second song in the playlist, after having playing through the first song and recieving a song vote during that time, always leads to a TimeoutException in Jotify.

Steps to reproduce

  1. Start up Music Machine
  2. Vote on song, song starts playing immediately
  3. Vote on second song
  4. Wait for first song to finish
  5. Music Machine tries to start playback on second song in playlist
  6. The following exception occurs

Exception in thread "Thread-4" java.lang.NullPointerException
at de.felixbruns.jotify.api.player.SpotifyInputStream.channelData(Unknown Source)
at de.felixbruns.jotify.api.protocol.channel.Channel.process(Unknown Source)
at de.felixbruns.jotify.api.JotifyConnection.commandReceived(Unknown Source)
at de.felixbruns.jotify.api.protocol.Protocol.receivePacket(Unknown Source)
at de.felixbruns.jotify.api.JotifyConnection.run(Unknown Source)
at java.lang.Thread.run(Thread.java:637)
java.util.concurrent.TimeoutException: Timeout while waiting for data.
at de.felixbruns.jotify.api.protocol.channel.ChannelCallback.get(Unknown Source)
at de.felixbruns.jotify.api.player.SpotifyInputStream.requestKey(Unknown Source)
at de.felixbruns.jotify.api.player.SpotifyInputStream.(Unknown Source)
at de.felixbruns.jotify.api.player.SpotifyOggPlayer.play(Unknown Source)
at de.felixbruns.jotify.api.JotifyConnection.play(Unknown Source)
at com.markupartist.nollbit.musicmachine.server.MusicMachinePlaybackAdapter.playTrack(Unknown Source)
at com.markupartist.nollbit.musicmachine.server.MusicMachinePlaybackAdapter.playbackFinished(Unknown Source)
at de.felixbruns.jotify.api.player.SpotifyOggPlayer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:637)

build.xml

the
in the build xml can be done directly inside de jar task... will save a lot of IO/time and won't give any problems with casesensitive classname collisions..

This atribute might be good as well....(different default behaviour on WIN and Unix)
<zipfileset casesensitive="true"

//best, johan

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.