<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How can I add a Track to any Playlist from the Command Line | Database?]]></title><description><![CDATA[<p dir="auto">Hello everyone,</p>
<p dir="auto"><strong>TL;DR:  Can the currently playing track be added to a certain playlist "Driving" for example via script/program (Linux)?</strong></p>
<p dir="auto">I have several playlists that I want to keep up to date.<br />
I listen to a lot of new music, and want to index several thousand tracks and sort them into these playlists:<br />
<img src="/assets/uploads/files/1688661343170-2df91bb6-d03b-4826-a816-904543928b91-image.png" alt="2df91bb6-d03b-4826-a816-904543928b91-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">To make the sorting process easier, I was thinking about making a program or script which listens to keyboard shortcuts and appends it to the specified playlist:<br />
<code>CTRL + SUPER + 1</code> would be "Best Tracks" for example.</p>
<p dir="auto">Is this possible with the current command line tools? If not, what SQLite command would be appropriate for java's JDBC to insert a track into a certain playlist?</p>
]]></description><link>https://forum.strawberrymusicplayer.org/topic/1214/how-can-i-add-a-track-to-any-playlist-from-the-command-line-database</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 19:11:11 GMT</lastBuildDate><atom:link href="https://forum.strawberrymusicplayer.org/topic/1214.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Jul 2023 16:40:56 GMT</pubDate><ttl>60</ttl></channel></rss>