User Tools

Site Tools


informatica:linux:spotify

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
informatica:linux:spotify [2015/04/13 20:19] – external edit 127.0.0.1informatica:linux:spotify [2020/10/18 17:53] (current) jose
Line 1: Line 1:
 Si da error con el programa nativo Si da error con el programa nativo
  
-export SPOTIFYGNOMESUPPORT=yes+  export SPOTIFYGNOMESUPPORT=yes 
 + 
 +====== Teclas: ====== 
 +Con este scric podemos stop, play, next y previous: 
 +<code> 
 +#!/usr/bin/env bash 
 + 
 +# Simple Spotify Control 
 +# Just call ./spotify_control --help 
 + 
 +CMD="dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player" 
 + 
 +case "$1" in 
 +  "playpause"
 +    ${CMD}.PlayPause 
 +    exit $? 
 +  ;; 
 +  "next"
 +    ${CMD}.Next 
 +    exit $? 
 +  ;; 
 +  "previous"
 +    ${CMD}.Previous 
 +    exit $? 
 +  ;; 
 +  "stop"
 +    ${CMD}.Stop 
 +    exit $? 
 +  ;; 
 +  "play"
 +    ${CMD}.Play 
 +    exit $? 
 +  ;; 
 +  *) 
 +    echo "Usage: $0 [command]" 
 +    echo "  commands are: playpause, next, previous, stop, play" 
 +    exit 1 
 +  ;; 
 +esac 
 +</code> 
 + 
 +====== Notificaciones ====== 
 +Para deshabilitar notificaciones, en settings / Display Options / Show desktop notifications when the song changes 
 + 
  
informatica/linux/spotify.1428956385.txt.gz · Last modified: 2015/04/13 20:19 by 127.0.0.1