darep / beatstream Goto Github PK
View Code? Open in Web Editor NEWMusic streaming server/app
Music streaming server/app
Why don't we use mediainfo instead of mp3info, which will allow us to get media info for files other than mp3 e.g. m4a, mp4 etc. I have tried it myself in a cloned repo. Only problem i faced was that default flash player wasn't able to play m4a file, i have changed the default player to html5audio. It seems to work now :)
mediainfo is a wrapper gem for mediainfo library(which can be installed inside ubuntu through sudo apt-get install mediainfo
, more info at: http://mediaarea.net/en/MediaInfo)
Since iconv was deprecated in 1.9.3, I wasn't able to run the database migration until including iconv in the Gemfile.
Playlist doesn't repeat if there is only 1 song.
Sometimes, after a song has played, the player will not advance to the next song but instead just stop playing.
This probably has something to do with the HTML5 tag.
Make Beatstream work on iPad
Infinite preloading. Cannot use. Tested on Samsung tablet and phone.
Hi, is just a little question. What's the best strategy for deploy a Beatstream app? capistrano could be a good choice?
Timo Mihaljov suggested that a Nyanalyzer should be added. Nyanalyzer is a nyan-cat inspired audio analyzer used in Clementine.
Example: http://www.youtube.com/watch?v=XqygUDyzxtg&feature=youtu.be
Search strings such as:
Make the layout and music playing work on iPhone
Hey Darep
Thanks for the app. Unfortunately I ran into an error:
NoMethodError: undefined method `to_natural_sort_string' for true:TrueClass
from /home/mathieu/workspace/beatstream/app/services/media_reader.rb:34:in `each'
from /home/mathieu/workspace/beatstream/app/services/media_reader.rb:34:in `sort_by'
from /home/mathieu/workspace/beatstream/app/services/media_reader.rb:34:in `refresh'
from (irb):7
from /home/mathieu/.rvm/gems/ruby-2.1.0/gems/railties-3.2.19/lib/rails/commands/console.rb:47:in `start'
from /home/mathieu/.rvm/gems/ruby-2.1.0/gems/railties-3.2.19/lib/rails/commands/console.rb:8:in `start'
from /home/mathieu/.rvm/gems/ruby-2.1.0/gems/railties-3.2.19/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
I have no idea where that true
could be coming from. Might be a corrupted file. I'm running it on console for now and will probably end up going to use select{|s| s.is_a?(Song)}
as a quick fix.
Let me know
When I load the application in Dev branch the app can´t load css and js. I didn´t find any of this file in the Project folder.
Whenever you click to sort the playlist, there is no indicator that the app is sorting the playlist which results in the user wondering if the click was received at all.
There should be a clear yet subtle indicator that the app is sorting the playlist.
Installing fresh on my machine and loading up 0.0.0.0:3000 shows me ActiveRecord::RecordNotFound in MainController#index page.
Error:
Couldn't find User without an ID
App Trace:
app/controllers/application_controller.rb:13:in user' app/controllers/application_controller.rb:9:in
authorize'
I get around it by changing application_controller.rb
@user ||= User.find(session[:user_id])
to
@user ||= User.find_by_email('hardcoded_email')
If the user has Mighty Wings by Cheap Trick (from the Top Gun soundtrack) in his music library, play this song when the clock is nearing 11 am. This will signal that it's time for lunch.
Also, some glorious message that "your player has been taken over. It's 11 am"
There is no visible indicator for the re-indexing process and after it is done, you see a blank page.
Proposed implementation:
Sometimes users might have MP3 files that have invalid UTF-8 byte order in the filename. Tell the user that there are issues with their MP3 files.
There should be a clear "Loading" indicator when the app is starting (= fetching media library and forming the initial playlist).
Pressing Ctrl/Cmd+A should select all tracks on the currently visible view / playlist.
Support for transcoding files that are in format that isn't supported in client applications, ie. browsers support different codecs and containers etc.
Save the last state. Last song and playlist that was playing. Retrieve last state (song and playlist) on startup and automatically scroll the songlist to the correct location. Just like in rdio ;)
The UI is not as pretty in Firefox as it could be. The CSS is missing -moz vendor prefixes etc.
Shuffle sometimes chooses the same song as before. That's dumb.
I have a problem after login. Every time that I try to login, I will redirected to login page again. This error show on server log
ActionController::RoutingError (No route matches [GET] "/api/v1/profile"):
Create a install guide on how to install and run Beatstream on Apache+Passenger combo.
Users can start the re-indexing process as many times as they want while the last re-index is still running. This will eat extra CPU time, there should instead be an alert saying "Re-indexing is already under way!"
It doesn't matter if repeat is on or off, the playlist will always repeat endlessly.
There are issues with the seekbar and the player not working with Firefox. SoundManager 2 might solve these problems!
Can add songs to queue, view the queue and such
Idea from Rafu
It's just confusing. Try it. Should be better.
Add into the left sidebar just below "All Music":
Flashblock blocks the SoundManager 2 flash on Firefox and the playing silently fails.
Solution: Display a visible alert telling the user to disable Flashblock here.
Especially when shuffling, it would be nice to be able to go back to the previous song.
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.