mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 09:42:42 +01:00 
			
		
		
		
	Add 1 to songPosition in the MPD module
This commit is contained in:
		@@ -129,7 +129,7 @@ void waybar::modules::MPD::setLabel() {
 | 
				
			|||||||
    album = getTag(MPD_TAG_ALBUM);
 | 
					    album = getTag(MPD_TAG_ALBUM);
 | 
				
			||||||
    title = getTag(MPD_TAG_TITLE);
 | 
					    title = getTag(MPD_TAG_TITLE);
 | 
				
			||||||
    date = getTag(MPD_TAG_DATE);
 | 
					    date = getTag(MPD_TAG_DATE);
 | 
				
			||||||
    song_pos = mpd_status_get_song_pos(status_.get());
 | 
					    song_pos = mpd_status_get_song_pos(status_.get()) + 1;
 | 
				
			||||||
    volume = mpd_status_get_volume(status_.get());
 | 
					    volume = mpd_status_get_volume(status_.get());
 | 
				
			||||||
    if (volume < 0) {
 | 
					    if (volume < 0) {
 | 
				
			||||||
      volume = 0;
 | 
					      volume = 0;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user