GithubHelp home page GithubHelp logo

polybar-spotify's People

Contributors

fmeinicke avatar george-lewis avatar ifreilicht avatar jvanrhijn avatar martinlatrille avatar tim-ats-d avatar vincinator avatar viniciuspereiras 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

polybar-spotify's Issues

Traceback error ( import dbus )

Hi!
so, I downloaded and installed the script the way it was described in the README.
but when I finish configuring it gives an error

"Traceback (most recent call last)"

then I tried to run it through the terminal... the error appeared completely.

[Gho0st@archlinux scripts]$ python spotify_status.py
Traceback (most recent call last):
   File "/home/Gho0st/.config/polybar/scripts/spotify_status.py", line 4, in <module>
     import dbus
ModuleNotFoundError: No module named 'dbus'

I installed dbus with :

sudo pacman -S dbus

but it keeps giving the error... can you help me?

Add feature: Custom text based upon playback status

Wondering whether or not it would be possible to have additional text in the song title depending on whether the player is Playing or Paused? I'd fork and make an attempt myself, but I really don't know what I'm doing.

spotifyd

is there any ways to make this work with spotifyd?

--trunclen only applies to song

It's not really truncating the whole message, just the song.

Reading the description in the README, this sounds like a feature, but just wanted to make sure.

Simply won't show

Been using the lovely script for a while now with no problems until I switched to Void today and found out that it doesn't work. I have python, python3 and python-dbus installed. When I didn't have a python_status.py, polybar would whine about how the file doesn't exist but when I do make one, although the error disappears from the bar, doesn't show anything when I have a song playing when using Spotify. The script has always worked when on Arch so it may be something about Void...

Edit: I've changed to and tried the default settings suggested on this git page as well to no avail.

Python is throwing weird exception

I have python3 and python-dbus installed but the module won't work.

Basically the code throws this exception:
if(isinstance(e, dbus.exceptions.DBusException)): print('')

2020-01-24-180859_1895x58_scrot

any ideas?

Not showing any proper output.

For several months now I have been using this script with no issues, up until switching distros (now running Pop!_OS 20.10), and now I'm getting output saying "Traceback (most recent call last):", instead of showing whether or not any music is playing.
So far I have installed the package python3-dbus, as well as python3 itself and rebooted to no avail. I also tried installing python-dbus, however the package does not seem to be available.
Something tells me that I must be missing some sort of package, and I can't help but worry I need that specific python-dbus package.
Any help would be greatly appreciated!

dbus exceptions error spotifyd

I have it set up to listen for spotifyd and have changed the script accordingly, however if i don't immediately open up spotify-tui and start playing something, I get an error that takes up the entire bar. It's just a dbus exception because it hasn't received a reply. If I start playing a song the error is replaced with the correct output, but is there some way that I can just disable the printing of this error entirely?

Pause symbol don't appear

Pause icon don't appear on polybar.
Play symbol works fine.
In terminal when run script everything works great.
Paused:
Imgur
Playing
Imgur

Linux arch 5.0.7-arch1-1-ARCH
polybar 3.3.0-77-gd5112c9

Can't execute

Traceback (most recent call last):
File "/home/username/.config/polybar/scripts/spotify_status.py", line 70, in
session_bus = dbus.SessionBus()
AttributeError: module 'dbus' has no attribute 'SessionBus'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/username/.config/polybar/scripts/spotify_status.py", line 119, in
if isinstance(e, dbus.exceptions.DBusException):
AttributeError: module 'dbus' has no attribute 'exceptions'

Blimps with USB DAC as sound output

I have started using a USB DAC as my output for my headset which results in the module shortly (approximately 2ms) showing the extra text as shown in the attached image.
2019-12-17-112415_1920x1080_scrot

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.