Giter VIP home page Giter VIP logo

playa's People

Contributors

cfurrow avatar gavinlaking avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

playa's Issues

Playa crashes if a directory contains too many files.

Playa sequentially opens each file in the directory to extract the ID3 tag information for the track collection database. With large directories this causes Playa to fail with Errno::EMFILE Too many open files @ rb_sysopen.

Need to look into:

  • Not opening so many files, or closing them before we run out of filehandles.
  • Caching the list of files in a directory.
  • Caching their ID3 tags in a SQLite database maybe?

command not found

I followed your installation instructions and when I tried using the gem I got:

>: playa
-bash: playa: command not found

This is after restarting the terminal.

gem list playa outputs:

playa (0.0.12)

Crashes when trying to start playback

undefined method `iso8601' for 2014-08-19 13:36:14 UTC:Time
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/log.rb:9:in `block (2 levels) in logger'
/home/mmior/.dotfiles/ruby/rvm.symlink/rubies/ruby-2.1.2/lib/ruby/2.1.0/logger.rb:491:in `call'
/home/mmior/.dotfiles/ruby/rvm.symlink/rubies/ruby-2.1.2/lib/ruby/2.1.0/logger.rb:491:in `format_message'
/home/mmior/.dotfiles/ruby/rvm.symlink/rubies/ruby-2.1.2/lib/ruby/2.1.0/logger.rb:379:in `add'
/home/mmior/.dotfiles/ruby/rvm.symlink/rubies/ruby-2.1.2/lib/ruby/2.1.0/logger.rb:400:in `debug'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/api.rb:33:in `log'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/api.rb:9:in `block (2 levels) in events'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/events.rb:33:in `call'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/events.rb:33:in `block in trigger'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/events.rb:33:in `each'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/events.rb:33:in `trigger'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/api.rb:37:in `trigger'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/api.rb:28:in `keypress'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/api.rb:14:in `block (2 levels) in events'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/events.rb:33:in `call'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/events.rb:33:in `block in trigger'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/events.rb:33:in `each'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/events.rb:33:in `trigger'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/api/api.rb:37:in `trigger'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/support/input.rb:10:in `capture'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/support/input.rb:4:in `capture'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/application.rb:38:in `main_sequence'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/application.rb:19:in `block (2 levels) in start'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/application.rb:29:in `block in runner'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/application.rb:46:in `block in interactive'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/application.rb:46:in `loop'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/application.rb:46:in `interactive'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/application.rb:29:in `runner'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/application.rb:19:in `block in start'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/support/terminal.rb:10:in `block (2 levels) in open'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/support/terminal.rb:45:in `initialize_screen'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/support/terminal.rb:10:in `block in open'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/support/terminal.rb:10:in `raw'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/support/terminal.rb:10:in `open'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/application.rb:14:in `start'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/application.rb:6:in `start'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/vedeu-0.1.14/lib/vedeu/launcher.rb:18:in `execute!'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/playa-0.0.12/lib/playa.rb:57:in `start'
/u1/mmior/.rvm/gems/ruby-2.1.2/gems/playa-0.0.12/bin/playa:15:in `<top (required)>'
/u1/mmior/.rvm/gems/ruby-2.1.2/bin/playa:23:in `load'
/u1/mmior/.rvm/gems/ruby-2.1.2/bin/playa:23:in `<main>'
/u1/mmior/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `eval'
/u1/mmior/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `<main>'

mp3 tracks without ID3 tags

If the mp3 file does not have ID3 tags, then the output will not be brilliant.

In particular, the track title will be the filename- including the path. (Yuck.)

doesn't work on ruby 2.2.1

00:13ruby /home/me/.rvm/gems/ruby-2.2.1/bin/playa: symbol lookup error: /home/me/.rvm/gems/ruby-2.2.1/gems/audite-0.3.0/lib/portaudio.so: undefined symbol: rb_thread_blocking_region

Ubuntu 15.04

undefined symbol rb_thread_blocking region Ubuntu 14.04, rvm, ruby 2.2.2

Hi,
When trying to start playback of a song I get:
/home/felix/.rvm/gems/ruby-2.2.2/bin/playa /media/felix/data/music/Anugama: symbol lookup error: /home/felix/.rvm/gems/ruby-2.2.2/gems/audite-0.3.0/lib/portaudio.so: undefined symbol: rb_thread_blocking_region

Setup is a ubuntu 14.04 amd64 machine, ruby 2.2.2 via rvm.

I did install the package listed in the README.

Have fun
Felix

Playa 0.0.13 crashes with vedeu 0.1.16

Updating to 0.1.17 seems to fix the crash (a NameError in the code)

$ playa
$HOME/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/vedeu-0.1.16/lib/vedeu/support/groups.rb:48:in `block in in_memory': uninitialized constant Vedeu::Groups::Set (NameError)
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/vedeu-0.1.16/lib/vedeu/support/groups.rb:27:in `yield'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/vedeu-0.1.16/lib/vedeu/support/groups.rb:27:in `add'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/vedeu-0.1.16/lib/vedeu/support/buffers.rb:11:in `create'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/vedeu-0.1.16/lib/vedeu/api/interface.rb:22:in `define'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/vedeu-0.1.16/lib/vedeu/api/interface.rb:10:in `define'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/vedeu-0.1.16/lib/vedeu/api/api.rb:87:in `interface'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/playa-0.0.13/lib/playa/application.rb:5:in `<class:Application>'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/playa-0.0.13/lib/playa/application.rb:2:in `<module:Playa>'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/playa-0.0.13/lib/playa/application.rb:1:in `<top (required)>'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/playa-0.0.13/lib/playa.rb:19:in `<top (required)>'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
    from $HOME/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/playa-0.0.13/bin/playa:9:in `<top (required)>'
    from $HOME/.rbenv/versions/2.0.0-p353/bin/playa:23:in `load'
    from $HOME/.rbenv/versions/2.0.0-p353/bin/playa:23:in `<main>'

Cannot install on Ubuntu 15.04

ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:947:(find_matching_chmap) Found no matching channel map
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed

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.