mthenault / micpyplayer Goto Github PK
View Code? Open in Web Editor NEWsimple music player in python with ncurses and libvlc
License: MIT License
simple music player in python with ncurses and libvlc
License: MIT License
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)
In order to keep the app user friendly, sacrifice one line for displaying shortcuts like the nano editor.
Wierd glitch when pressing up or down and not releasing
The file list should mark the currently played file with a ">" character, for example
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, with a volume bar appearing on screen on top of all the rest.
Keys : + and -
Support ctrl+s search in browser and select matched line, like emacs
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.