ewyuan / py-mp Goto Github PK
View Code? Open in Web Editor NEWA simple command-line music player
License: MIT License
A simple command-line music player
License: MIT License
Traceback (most recent call last):
File "c:\users\eddy\appdata\local\programs\python\python36-32\lib\threading.py", line 916, in _bootstrap_inner
self.run()
File "c:\users\eddy\appdata\local\programs\python\python36-32\lib\threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "c:\users\eddy\appdata\local\programs\python\python36-32\lib\site-packages\pymp\helper.py", line 88, in handle_inputs
title = player.get_current_song().get_title()
AttributeError: 'NoneType' object has no attribute 'get_title'
Workflow:
Searched for "darude sandstorm". Played it. Then paused it. Cleared it from queue. Then added "remember me" from coco. When I typed resume it played darude sandstorm instead of "remember me".
Logs:
Please enter the song you are searching for: darude sandstorm
Enter control option (Type 'help' for list of available options): help
add [song] - Adds [song] to the queue
clear - Clears the queue
pause - Pause the current song
resume - Resumes the current song
queue - Prints the current queue
skip - Plays the next song in queue
cur - Get the title of the current song
time - Get the time of the current song
prev - Get the title of the previous song
rewind - Restart the current song
remove [pos] - Removes the song in position [pos] from the q
exit - Exits the program
Enter control option (Type 'help' for list of available options): pause
Pausing 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options): play
Option 'play' not supported.
Enter control option (Type 'help' for list of available options): resume
Resuming 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options): pause
Pausing 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options): resume
Resuming 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options): play
Option 'play' not supported.
Enter control option (Type 'help' for list of available options): pause
Pausing 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options): clear
Cleared the queue.
Enter control option (Type 'help' for list of available options): add remember me coco
Added 'remember me coco' to queue.
Enter control option (Type 'help' for list of available options): play
Option 'play' not supported.
Enter control option (Type 'help' for list of available options): resume
Resuming 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options): skip
Skipping 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options):
Enter control option (Type 'help' for list of available options): pause
Pausing 'Maroon 5 - Girls Like You ft. Cardi B'.
Enter control option (Type 'help' for list of available options): rewind
Enter control option (Type 'help' for list of available options): [04303290] prefetch stream error: reading while paused (buggy demux?)
Documentation: http://click.pocoo.org/5/
Line 34 in 29c323a
Log:
Pausing '[Full Album]태연 (TAEYEON) – My Voice – The 1st Album Deluxe Edition'.
Enter control option (Type 'help' for list of available options): resume
Resuming '[Full Album]태연 (TAEYEON) – My Voice – The 1st Album Deluxe Edition'.
Enter control option (Type 'help' for list of available options): [04476138] gnutls tls client error: Error in the pull function.
[04476138] gnutls tls client error: Error in the push function.
[060411e0] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1000 ms)
pause
Pausing '[Full Album]태연 (TAEYEON) – My Voice – The 1st Album Deluxe Edition'.
Enter control option (Type 'help' for list of available options): resume
Resuming '[Full Album]태연 (TAEYEON) – My Voice – The 1st Album Deluxe Edition'.
Enter control option (Type 'help' for list of available options): [04476138] gnutls tls client error: Error in the pull function.
[04476138] gnutls tls client error: Error in the push function.
pause
Pausing '[Full Album]태연 (TAEYEON) – My Voice – The 1st Album Deluxe Edition'.
Enter control option (Type 'help' for list of available options):
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.