Bugzilla – Bug 17907
CLI: Playlists edit cmd:add perform a rescan
Last modified: 2012-02-26 06:19:30 UTC
If i add songs to a playlist with the cli command: playlists edit cmd:add playlist_id:xxxx title:xxxx the Name of the title is reset. It will put the name that was entered here in the playlist. Even though the album will be selected, the new name will be displayed. FeatureRequest: A way to add more than one Song at Time with this command. Then playlists can be controlled more easily from outside. I have written a programm (in Java) that can make Playlists on the Server. But saving a playlist is hard. Either i use the CLI command for each song i want to add: playlists edit cmd:add playlist_id:xxxx title:xxxx On a locally server on a PC no problem. It is fast (around 250ms per Song) but on the touch it will take around 2000ms each song...and is very slowly. Or i use the Playlist from a Player. Than i can add more than one Song with: playlistcontrol cmd:add track_id:xxx,xxx,xxx and than save it. But the problem is, when the playlist has more titles than 500 (100 at the touch) i cant add all. Sorry for my bad english. I am from Germany and have never learn it.
(In reply to comment #0) > If i add songs to a playlist with the cli command: > playlists edit cmd:add playlist_id:xxxx title:xxxx > the Name of the title is reset. That's a feature, not a bug. Do not use the title tag unless you want it set to your DB. It's being used to set title information for online radio streams. > FeatureRequest: > A way to add more than one Song at Time with this command. I think you don't even need to set the title. On local tracks if you add a file to the playlist, that file will be scanned. What exactly do you want to see changed? Feel free to post in German.
> That's a feature, not a bug. Do not use the title tag unless you want it set to > your DB. It's being used to set title information for online radio streams. > Ok...in deutsch: Das war mir noch nicht bewusst. Ich war auch nach der Beschreibung davon ausgegangen, dass ich den Titel setzen muss. Ich habe es direkt ausprobiert...das geht sogar etwas schneller. > I think you don't even need to set the title. On local tracks if you add a file > to the playlist, that file will be scanned. > > What exactly do you want to see changed? Feel free to post in German. Ich möchte mehr als einen Titel zu einer Playliste, die nicht auf einem Player aktuell wiedergegeben wird hinzufügen können. Hintergrund: Wir hören bei uns im Haus sehr viel Kindermusik. Unsere Zwillinge sind 2Jahre alt und möchten am liebsten den ganzen Tag etwas hören. Dazu haben wir uns die Touch geholt, damit wir nicht immer nur die gleiche CD hören müssen. Nun haben wir ca. 750 Titel mit Kindermusik. Davon natürlich einiges an Weihnachtsmusik, die ich nicht das ganze Jahr hören möchte. Auch Hörspiele sollen nicht tagsüber laufen. Daher fällt der Zufallsmix raus. Meine Idee war es, das ich mir einfach eine Playliste erstelle, bei der ich dann gewisse CD´s und Titel einfach entferne...diese Playliste dann per Shuffle wiedergeben und gut ist. Da ich bisher keinen wirklich schönen Weg gefunden habe eine Playliste in der Touch zu erstellen und zu Pflegen und auch mal einen Java Kurs machen wollte (Hobby!) habe ich einen Playlisteditor gebastelt. Ich kann über CLI alle Playlisten aufrufen, bearbeiten und wieder speichern. Nur das Speichern ist fast nicht möglich. Habe ich weniger als 100 Titel geht es, wenn ich es so mache: - Player stoppen - Titelliste vom Player speichern - Aktuelle Position und Status merken - Neue Playliste anlegen und speichern (das geht sehr schnell, da alle Titel gleichzeitig hinzugefügt werden können) - Alten Status wiederherstellen Aber ich muss in den Player eingreifen. Ausserdem geht das nur bis zu einer größe von 100 Titeln auf der Touch...ab dann ist schluß. Daher bleibt nur der Weg über playlists edit...aber bei z.B. 200 Titeln habe ich bei meinem Testlauf gestern 2h gebraucht um die Playliste zu speichern, da jeder Titel einzeln hinzugefügt werden muss. außer ich habe auch hier einen Fehler drin oder etwas übersehen. Danke für die Antwort!