tizonia / tizonia-openmax-il

Command-line cloud music player for Linux with support for Spotify, Google Play Music, YouTube, SoundCloud, TuneIn, iHeartRadio, Plex servers and Chromecast devices.
https://tizonia.org
GNU Lesser General Public License v3.0
1.69k stars 87 forks source link

More window-aware output, or options for customizing output? #612

Open matthewarmand opened 5 years ago

matthewarmand commented 5 years ago

Hi there! Thanks so much for this project, it's great to have a lightweight, CLI alternative for heavy browser/desktop apps for streaming music.

I wanted to suggest an enhancement to be able to customize the output of the player. Sometimes the terminal window I use for Tizonia is smaller, and that can cause some less-than-desirable wrapping and such when the player is rendering. It would be nice if the rendering was more dynamic and window-size-aware, to avoid this kind of issue.

Additionally, (and this might be a separate issue so if so let me know and I can split it off) but at least when interacting with Google Play Music with the --gmusic-album parameter, Tizonia prints out the entirety of the user's library. It would be nice to either have some sort of --quiet option to hide that output, or alternatively to hide it by default unless some sort of --verbose flag is passed.

Thanks again!

makcuber commented 4 years ago

I would also love to have a --quite mode that disables the INFO entries when Tizonia is loading a new track. Debug mode doesn't need to be enabled for everyday use. Love this project, thanks for all the hard work!

juanrubio commented 4 years ago

Hi @makcuber

The INFO logs were a regression in spotipy. That issue is fixed already: https://github.com/plamere/spotipy/issues/478

Simply update Tizonia's Python dependencies on your machine and those logs will go away: https://github.com/tizonia/tizonia-openmax-il#upgrade

Note that It's a good idea to upgrade these Python modules frequently. Most of these projects are doing great in keeping up with issues and regressions and they also react quickly to changes in the cloud service APIs. I've got those commands in https://github.com/tizonia/tizonia-openmax-il#upgrade in a script that I run almost daily.