Update MPRIS and Music RPC
This commit is contained in:
		
							parent
							
								
									a6c2053b27
								
							
						
					
					
						commit
						12ecc50737
					
				
					 3 changed files with 49 additions and 0 deletions
				
			
		
							
								
								
									
										45
									
								
								music-discord-rpc/dot-config/music-discord-rpc/config.yaml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								music-discord-rpc/dot-config/music-discord-rpc/config.yaml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,45 @@ | |||
| # music-discord-rpc configuration file | ||||
| 
 | ||||
| # You can reset this file using the command: | ||||
| # music-discord-rpc --reset-config | ||||
| 
 | ||||
| # You can also disable Last.fm as a cover source by providing an empty string as the key. | ||||
| lastfm_api_key: "" | ||||
| 
 | ||||
| # Activity refresh rate in seconds (min 5) | ||||
| interval: 5 | ||||
| 
 | ||||
| # Select visible activity buttons (max 2) [possible values: yt, lastfm, listenbrainz, mprisUrl, shamelessAd] | ||||
| button: | ||||
| #   - yt | ||||
| #   - lastfm | ||||
| 
 | ||||
| rpc_name: artist | ||||
| 
 | ||||
| small_image: none | ||||
| 
 | ||||
| # Prevent MPRIS artUrl to be used as album cover if cover is not available on Last.fm. Mainly for working with thumbnails from YouTube and other video sites. | ||||
| # Additionally, it also disables icon and player name replacement on YouTube if it detects a YouTube thumbnail link. | ||||
| disable_mpris_art_url: false | ||||
| 
 | ||||
| # Use -l, --list-players to get player exact name to use with this option | ||||
| # The order matters and the first is the most important. | ||||
| allowlist: | ||||
|   - "Music" | ||||
| 
 | ||||
| # Use -l, --list-players to get player exact name to use with this option | ||||
| video_players: | ||||
| #   - "VLC Media Player" | ||||
| #   - "Chrome" | ||||
| 
 | ||||
| # Hide the album name to decrease activity height | ||||
| hide_album_name: false | ||||
| 
 | ||||
| # Only send activity when media is playing | ||||
| only_when_playing: true | ||||
| 
 | ||||
| # Prevent MusicBrainz to be used as source of album cover if cover is not available on Last.fm | ||||
| disable_musicbrainz_cover: false | ||||
| 
 | ||||
| # Disable cache (not recommended) | ||||
| disable_cache: false | ||||
|  | @ -71,6 +71,7 @@ spawn-at-startup "udiskie" | |||
| spawn-at-startup "wl-paste" "--watch" "cliphist" "store" | ||||
| spawn-at-startup "cliphist" "wipe" | ||||
| spawn-at-startup "flatpak" "run" "it.mijorus.smile" "--start-hidden" | ||||
| spawn-at-startup "music-discord-rpc" | ||||
| environment { | ||||
|     CLIPHIST_MAX_ITEMS "20" | ||||
|     ELECTRON_OZONE_PLATFORM_HINT "auto" | ||||
|  |  | |||
|  | @ -46,6 +46,9 @@ | |||
|     } | ||||
|   }, | ||||
|   "mpris": { | ||||
|     "ignored-players": [ | ||||
|       "firefox" | ||||
|     ], | ||||
|     "format": "♪ ~ {status_icon}{title}", | ||||
|     "format-stopped": "", | ||||
|     "tooltip-format": "{dynamic}", | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue