Skip to content

Does anyone have now_playing.sh working? #287

Answered by erikw
x-candy6 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, as you mention Rhytmbox I would assume you are on a Linux-based desktop?

I'm right now on a macOS desktop and Spotify works with the now playing segment. It's hard to say what the issue might be on your particular system. Thus I would advice you to follow the Debugging instructions at

https://github.com/erikw/tmux-powerline#debugging

By injecting set -x in the segment, you can get exact output on what is happening and which part of the script that is not working.

For example, if you're using the "spotify" segment, then adjust the np_spotify() function in now_playing.sh like this:

__np_spotify() {
	set -x
        exec 2>/tmp/tmux-powerline.log
  
        [....]
 
        set +x
}

and …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by erikw
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants