Comments (3)
Why would you want to use dynamic play lists with random and consume modes set?
The cantata-dynamic helper script already randomly selects tracks, and removes
tracks so that there is only 10 tracks in the playqueue at any one time.
You could already do what you wish without needing any further dbus support,
and even without cantata running.
You can obtain the list of dynamic play lists by looking in
~/.config/cantata/dynamic
To 'load' a dynamic play list, all you need to do in symkink the one in the
folder above to ~/.cache/cantata/dynamic/rules. Then you can start the helper
by calling '/usr/lib/kde4/libexec/cantata-dynamic start' (or first call
'/usr/lib/kde4/libexec/cantata-dynamic stop' to stop any current play list)
Original comment by [email protected]
on 11 May 2012 at 9:05
from cantata.
I have never realized that cantata-dynamic script will remove tracks from
playlist at some point. You are right - there is no need for consume mode.
As for random - that was due to another script that was running only when MPD
was in random mode, and I wanted to run it also when Cantata dynamic mode is
on. But I decided to just modify that script to be aware of cantata-dynamic
process.
Thanks for the tips about CLI interface to cantata-dynamic!
But I think I have found bug. That's what I did:
1. create symlink in ~/.cache/cantata/dynamic/ to one of files in
~/.config/cantata/dynamic/
2. run /usr/lib/kde4/libexec/cantata-dynamic start
Playlist was populated, but Cantata was unaware of dynamic playlist in use. All
of them could be started and Cantata did not display "[dynamic]" notify in
status bar, although cantata-dynamic script was obviously running. Cantata
restart helped.
Maybe Cantata should periodically (each 10 seconds or anything) look for
~/.cache/cantata/dynamic/lock file to check if cantata-dynamic script is in use?
Should I file another bug report for this?
Original comment by [email protected]
on 14 May 2012 at 11:51
from cantata.
If its ok, I'm going to close this bug report. Please re-open if you disagree
with me. I'm closing because, as stated above, you can already do what you
require manually. I've updated the help script so that it sends a dbus message
to cantata when it is started/stopped. I've also updated the README to document
the help scripts behaviour.
Original comment by [email protected]
on 18 May 2012 at 5:01
- Changed state: Fixed
from cantata.
Related Issues (20)
- When playing HTTP streams through Cantata on Plasma, the mute icon appears for all pinned applications in the task bar instead of only Cantata HOT 2
- Can't run compiled Cantata app on MacBook with M1 processor HOT 13
- Cantata doesn't restore active filter on startup HOT 1
- Cancelling a “Save as” action overwrites the pre-selected playlist HOT 4
- Manage subcollections HOT 2
- Mac OS 2.4.2 built HOT 1
- icecast stream list not loading
- SoundCloud doesnt work anymore HOT 2
- Latest version of curl > 7.77 does not like the "#<track name>" being passed as a url to locate
- Add artist in Treeview HOT 5
- Lyrics search/fetch not working when artist name starts with "The" HOT 1
- Rss podcast does not refresh when there are new episodes HOT 2
- say thanks button broken HOT 1
- Cantata disconnects on add smart playlist HOT 2
- [Feature request] continue releasing cantata for windows HOT 1
- cantata can't find cover.jpg for unsplitted "album image" flac files HOT 7
- MPD doesn't quit gracefully HOT 3
- Cantata v2.3.2 for Windows & Dynamic Playlist HOT 4
- When editing information of mp3, empty TCON frame is added to id3v2 tag HOT 12
- Can't fetch songs from Soundcloud HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cantata.