Git Product home page Git Product logo

micpyplayer's People

Contributors

etene avatar mthenault avatar

Watchers

 avatar  avatar  avatar

Forkers

etene

micpyplayer's Issues

Pistes sans tags id3

Quand on lit une piste dont un tag id3 manque, ça essaie de concaténer des chaînes avec None, et ça pète (https://github.com/antismap/micpyplayer/blob/master/src/player.py#L44)

Traceback (most recent call last):
  File "src/micpyplayer.py", line 106, in <module>
    curses.wrapper(main)
  File "/usr/lib/python3.5/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "src/micpyplayer.py", line 49, in main
    line_1, line_2 = our_player.get_interface_lines()
  File "/home/etienne/perso/micpyplayer/src/player.py", line 46, in get_interface_lines
    self.current_track.title + " (" + \
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

D'ailleurs concaténer des chaînes pour le formatage c'est pas super cool, faudrait faire un truc du genre

print_file = "{t.track_nb} - {t.artist} - {t.title} ({t.album})".format(t=self.current_track)

show shortcuts like nano

In order to keep the app user friendly, sacrifice one line for displaying shortcuts like the nano editor.

Add play queue

Currently the Player class only gets one file and plays it.
Instead of this, the Player class should get a list of files which correspond to the play queue. When one file finished to play, it has to switch to the next one.
The queue should be the next files in the current folder, starting after the currently played one

On screen volume

On screen volume, with a volume bar appearing on screen on top of all the rest.
Keys : + and -

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.