Jump to content

Auto update the queue when new tracks are added


dmachop

Recommended Posts

Hi,

 

First I would like to thank you for a great app and using the Poweramp app (paid) version great. I would like to know whether this could be made as a feature:

 

I have a folder containing 1000 tracks that is actively monitored by Poweramp. I have added a subset of tracks that match a criteria (genres or artist = 100 tracks) and add it to the queue which now contains 100 tracks. I sync up my android folder and then 10 new tracks are added, music folder contains 1010 tracks (auto updated to Poweramp library). If all the recently added media (10 tracks) matches my queue, I would like to auto update my queue which should be 110 tracks. However, this is not updated.

 

How can I auto-update my queue when the base folder is changed?

 

 

Link to comment
Share on other sites

The queue is really only a temporary option to bypassing the normal playback flow and play a few chosen tracks in the meantime.

You'd probably be better off using a playlist, but even then those can't be auto-modified based on user-settable criteria. Not quite sure what your actual criteria are to be honest, but perhaps Theoklink's Playlist Manager app might be able to do something?

Andre

Link to comment
Share on other sites

Sounds like you would like a playlist to self update if tracks are added in a particular folder. Perhaps you can specify your requirements in a few bullet points?. My app has lots of functionality requested by the users including pa users so who knows...

It is a maybe TheoKlink. Let me explain a bit more. A simplistic description would be to auto update the playlist when there is a change in the library. Here's the issue, if the playlist is added to the queue (Select queue -> Add to queue) and the playlist is updated, this update has to propage to the queue.

 

A sample scenario:

I have set up the folder /Music to auto sync from my local desktop. I usually listen to a lot of them and whenever I find some music interesting, I add it to my desktop which automatically syncs to the folder.

Under Poweramp, I have a playlist created by a Genre (Rock) which is added to the queue.

 

I am not sure if this has to be done by NPM or the Poweramp app itself but whichever approach it is, the change should be reflected in the queue or now playing.

 

This would be a rough flow of events by NPM after change:

  • Scan for recently added files (that can be obtained from 1. File system 2. Poweramp's Recently Added [Preferred])
  • Trigger the playlist rules configured; optimally applying only on the recently added file list; i.e., for every recently added file, if the file fits to the playlist rule, add the file to the playlist.
  • If the playlist is updated, the queue or now playing should be updated.

 

I could see that when the library is updated, the playlist is updated from Poweramp. If this has to be done through the Poweramp app, it should keep track whether the queue items were added through playlist.

A rough flow of events that should happen in Poweramp will be:

  • If playlist is updated, the queue or now playing should be updated.
Link to comment
Share on other sites

I'm still not sure why you are using the queue system at all for this purpose. The queue is really designed for playing an odd track or two, away from your normal playback mode and returning to normal play afterwards, not for continuous daily use. For regular playback, just PLAY a playlist, folder, genre etc, rather than enqueuing them.

You can play the Recently Added list directly by the way, just tap on any song in that list and it will start to play them in order (newest first). Note the "+" sign next to the song title in the Player screen, which tells you the current playback mode is set to Recently Added.

Another option would be to play your songs by Genre - view the genre list, and select any song from "Rock" (or just long-press on the "Rock" category title and select PLAY).

If you want to mix it up a bit, you could also set Shuffle mode to "Songs" (aka "Shuffle Songs, Lists in Order") which will randomise playback within the currently playing song list (i.e. random songs from the "Recently Added" list, or the "Rock" genre, etc).

Andre

Link to comment
Share on other sites

Dmachop, thank you for the details. If i understand this correctly, the updates to the pa q are central in your requirements. Unfortunately the pa api (programming interface) does not allow any writing to pa so it is currently impossible to change anything within pa from an external source. Automatic updating of playlists (using my app) would be possible in principle but it is just as easy to recreate a playlist using some criteria. There would be a lot of programming effort required to set rules etc.

Link to comment
Share on other sites

For regular playback, just PLAY a playlist, folder, genre etc, rather than enqueuing them.

 

This does the trick for me. Just playing the entire Genre and when new tracks are added, it plays automatically. Thanks andrewilley.

Link to comment
Share on other sites

This does the trick for me. Just playing the entire Genre and when new tracks are added, it plays automatically. Thanks andrewilley.

Bingo! :)

To be honest, quite a lot of people seem to misunderstand the purpose of the queue and try to use it as their regular playback mode - which misses out on a whole load of functionality that's already present in the app. Just use the queue for playing an odd 'breakaway' song or two on a whim, without disturbing your main playback sequence.

Andre

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...