<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Basic controls via command line in Desktop (Linux)</title>
    <link>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4295625#M15093</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to control some basic functions via command line like play/pause, could someone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jan 2018 18:23:23 GMT</pubDate>
    <dc:creator>doudoujack</dc:creator>
    <dc:date>2018-01-05T18:23:23Z</dc:date>
    <item>
      <title>Basic controls via command line</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4295625#M15093</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to be able to control some basic functions via command line like play/pause, could someone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2018 18:23:23 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4295625#M15093</guid>
      <dc:creator>doudoujack</dc:creator>
      <dc:date>2018-01-05T18:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Basic controls via command line</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4329610#M15415</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/wandernauta/6800547" target="_blank"&gt;https://gist.github.com/wandernauta/6800547&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This has made a good work for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it will help.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 01:07:14 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4329610#M15415</guid>
      <dc:creator>edaubert</dc:creator>
      <dc:date>2018-01-10T01:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Basic controls via command line</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4360856#M15590</link>
      <description>&lt;P&gt;Or you could just use dbus-send directly:&lt;BR /&gt;&lt;BR /&gt;Play:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Pause:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Play/Pause toggle:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Previous:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous&lt;BR /&gt;&lt;BR /&gt;Next:&lt;BR /&gt;&lt;BR /&gt;dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Volume and seeking doesn't work via MPRIS because their MPRIS&amp;nbsp;&lt;SPAN&gt;implementation is broken.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 15:29:41 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4360856#M15590</guid>
      <dc:creator>JasonLG1979</dc:creator>
      <dc:date>2018-01-19T15:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Basic controls via command line</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4402629#M15847</link>
      <description>&lt;P&gt;It doesn't work for me, when i type these commands, dbus sends this error:&lt;/P&gt;&lt;PRE&gt;Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.spotify was not provided by any .service files&lt;/PRE&gt;&lt;P&gt;Do you know how can i fix it?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 17:15:51 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4402629#M15847</guid>
      <dc:creator>Valeyard1</dc:creator>
      <dc:date>2018-03-01T17:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Basic controls via command line</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4403783#M15852</link>
      <description>&lt;P&gt;On a standard install it should work, I have not tested them with the snap or flatpak. I know that the flatpak versions has issues. For example you can't raise it via dbus or MPRIS last time I checked. Spotify has to be running of course for any of the commands to work also.&lt;BR /&gt;&lt;BR /&gt;I really wish they would open up their API. I don't see the logic of keeping the API closed and then releasing a garbage desktop app? Don't get me wrong, I love the spotify service (So much I actaully pay for it,lol!!!) But let's face it the desktop app is **bleep**... If they opened up the API it would take about a week and you'd have at least a couple awesome native Linux Spotify apps that they would not have to worry about.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 15:24:27 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4403783#M15852</guid>
      <dc:creator>JasonLG1979</dc:creator>
      <dc:date>2018-03-02T15:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Basic controls via command line</title>
      <link>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4411708#M15906</link>
      <description>&lt;P&gt;Thanks this would be I guess a good complete solution! I was searching for a really basic and simple solution so I marked the dbus reply as solution but thanks for this hint as well!&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Eds&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:41:22 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Desktop-Linux/Basic-controls-via-command-line/m-p/4411708#M15906</guid>
      <dc:creator>doudoujack</dc:creator>
      <dc:date>2018-03-08T09:41:22Z</dc:date>
    </item>
  </channel>
</rss>

