Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hightlight and center playlist on currently playing song #30

Open
GoogleCodeExporter opened this issue Feb 6, 2016 · 3 comments
Open

Comments

@GoogleCodeExporter
Copy link

i'd really like to have client 175 center the playlist on the currently playing 
song and highlight it in the playlist.  when i am not actively listening to 
music, sometimes a song comes on and i'd like to change to a song from the same 
album/artist, which is hard currently as i have to browse the playlist for the 
currently playing song.

reason this is important to me: most of the time i just add all add songs to 
the playlist (15000+ currently), turn random and consume on then hit play.  
when i get home from work, i turn the stereo on and their is music, like my own 
person radio station with no commercials.  :)  sometimes when warren haynes 
'stella blue' is on i'd like to play 'in my life' and then let mpd continue 
playing randomly when that song is over.

client175 is the best mpd frontend i've found thus far, keep up the good work!

Original issue reported on code.google.com by campbell...@gmail.com on 16 Jan 2011 at 10:43

@GoogleCodeExporter
Copy link
Author

I totally agree.  Not having this feature is the main reason client175 is not 
usable to me.  I would really like to see this implemented so that I can use 
this (otherwise awesome) client as my major music player.

Original comment by Chris.co...@gmail.com on 6 Apr 2011 at 7:41

@GoogleCodeExporter
Copy link
Author

Original comment by cseic...@gmail.com on 4 Mar 2012 at 6:26

  • Added labels: Priority-High
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

I found a workaround hack to get me past this problem.  I wasn't motivated to 
figure out how to manipulate the GUI, but I did figure out how to cause the 
current-title display to include the playlist position.  That's good enough for 
me, as it's easy to scroll right to that spot in the playlist.  In 
static/mpd.controls.js, at line 297, I made this modification:

        mpd.events.on('title', function(){
            var t = mpd.status.title
            var b = mpd.status.pos
            var num = Number(b)
            var position = (num+1)
            var c = mpd.status.playlistlength
            Ext.getDom('txtTitle').innerHTML = t + ' (#' + position + '/' + c + ')' || 'Unknown'
        })

Hope this helps someone.  

Original comment by t4251...@gmail.com on 28 Dec 2012 at 9:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant