Jump to content
Poweramp
Sign in to follow this  
Asmodeus

Play a hierachy of folders from the root in "Folder hierarchy" mode

Recommended Posts

Hello,
 
I couldn't figure out if this bug has been reported.
 
I have bought the license recently and I feel the problem happened not long after. This is an example of behavior.
 
My folder structure is something like this (audio tracks are in orange)
D/
├── D0/
│   ├── D00/
│   │    ├── f000.mp3
│   │    └── f001.mp3
│   ├── D01/
│   │    ├── f010.mp3
│   │    └── f011.mp3
│   ├── D02/
│   │    ├── f020.mp3
│   │    └── f021.mp3
│   ├── f03.mp3
│   └── f04.mp3
├── D1/
│   ├── D10/
│   │    ├── f100.mp3
│   │    └── f101.mp3
│   ├── D11/
│   │    ├── f110.mp3
│   │    └── f111.mp3
│   ├── D12/
│   │    ├── f120.mp3
│   │    └── f121.mp3
│   ├── f13.mp3
│   └── f14.mp3
└── D2/
    ├── D20/
    │    ├── f200.mp3
    │    └── f201.mp3
    ├── D21/
    │    ├── f210.mp3
    │    └── f211.mp3
    └── D22/
         ├── f220.mp3
         └── f221.mp3

So what does one expect if in folder structure mode I go to folder D, and press play? At least what I expect is to play all the tracks in the order they appear in this list (I don't want to shuffle the files).
 
What happens: only the files f03mp3 and f04.mp3 are playing in a cycle without any clear reason. No other subfolder is loaded.
 
Is it the expected behavior?
 

Please specify the following:

  • Poweramp version and build number (available in Poweramp Settings => About) v3 build 830 play
  • Your device model Huwawei P20 pro
  • Your Android version 9
  • Your Custom ROM name/version (if you're on custom ROM) no

Share this post


Link to post
Share on other sites
1 hour ago, Asmodeus said:
So what does one expect if in folder structure mode I go to folder D, and press play? At least what I expect is to play all the tracks in the order they appear in this list (I don't want to shuffle the files). 
 
What happens: only the files f03mp3 and f04.mp3 are playing in a cycle without any clear reason. No other subfolder is loaded.
 
Is it the expected behavior?

It is the behaviour I get when I access the library via "Folders". Try "Folders Hierarchy", this plays the songs somewhere below. If you don't see it, activate it via 3-dot-button > list options

Share this post


Link to post
Share on other sites

Thank you for your reply

I am sorry I use the french version of the app where I think "folder hierarchy" has been translated into "structure de dossiers" which I translated back into "folder structure". Maybe that is why I couldn't manage to see if this has been reported. Basically the behavior I am describing is the one I encounter when trying to use hierarchy.

In the "Folders" mode the folder D is not even visible, which is also not clear why.

 

Share this post


Link to post
Share on other sites
25 minutes ago, Asmodeus said:

In the "Folders" mode the folder D is not even visible, which is also not clear why.

Then you could try and clear Settings > Library > Music Folders, then add the correct folders, the do a Settings > Library > Full Rescan

Share this post


Link to post
Share on other sites

I actually did it before asking the question but did it again just to make sure.

In fact only the folders containing directly audio files are visible in folder mode and not their parents, that's why the root is not visible. And those which are visible don't show any subdirectory file. It seems like it is the expected behavior.

But I actually don't really complain about that, I downloaded this app especially for the folder hierarchy mode and it is not working as expected. In case my problem was not clear, when I go to a main folder and press play, it is only reading the files from the first subfolder met in the hierarchy and is stuck looping there. But I have this problem only after I paid... 😞

Thanks again for the reply

 

Share this post


Link to post
Share on other sites
On 6/5/2019 at 3:24 PM, Asmodeus said:

In the "Folders" mode the folder D is not even visible, which is also not clear why.

In Folders library mode, 'D' would not be visible as it has no song contents, only subfolders, and in a flat list view that is meaningless as you would drill-down to an empty list. If you placed even a single song inside the 'D' folder though, then the folder title would become visible. It would be shown before its subfolders, in the same way that you presumably see D0 and D1.

Playback order (like the library viewing order) depends on your chosen List Options, but assuming you have the two sort options set to By Path and By Filename, then the playback order from your example should be:

f03.mp3
f04.mp3
f000.mp3
f001.mp3
f010.mp3
f011.mp3
f020.mp3
f021.mp3
f13.mp3
f14.mp3
f100.mp3
f101.mp3
f110.mp3
f111.mp3
f120.mp3
f121.mp3
f200.mp3
f201.mp3
f210.mp3
f211.mp3
f220.mp3
f221.mp3

If playback is not advancing from the end of one folder to the next, check that the Repeat mode in the player screen is set to 'Advance List'.

Andre

Share this post


Link to post
Share on other sites

Thank you for the reply,

All you said made perfect sense.

However, the solution solves the problem only partially, because from what I understand if I go in D0/ folder and press play, it will not loop on f0*.mp3 as I expect it, but it will jump to the next folder and basically do exactly the same list as if I were in the root.

So how can I play all the tracks of say  D0/ subtree in their order and loop there? Do I have to create a playlist for every folder?

I think if I go to a folder in folder hierarchy mode and press play, it should be natural that all the files in the hierarchy are played in a given precise order, and If I am in loop mode, it would just start over again once finished.

I feel I am missing something here... Sorry

Share this post


Link to post
Share on other sites

In Folders view, if you drill down into the songs level for folder D0, you should see two songs f03.mp3 and f04.mp3. You can start playback by either tapping on one of those two songs, or tapping on the Play icon in the header area.

After those two songs have played (assuming Repeat is set to Advance List and Shuffle is set to Off) you should then hear the contents of the next folder in your Folder View sequence. This order is based on your chosen List Options setting, but if you have Folder view set to be sorted By Path, then that would mean playback would continue with folders D00, D01, D02, then D1, then D10, D11, D12, etc.

Andre

Share this post


Link to post
Share on other sites

I am really sorry, this is really not clear for me. Let me take another example let's say I want to listen all the songs of artist D2, album by album, each album being a subfolder, in their order, and then to restart from the first one
f200.mp3
f201.mp3
f210.mp3
f211.mp3
f220.mp3
f221.mp3
-repeat-
f200.mp3
f201.mp3
....

How can  I do that? The folder D2 is not visible in the Folders list because there is no track. So for me, the natural solution is to go to the hierarchy, find the folder and press play, but whatever the option it seems it is not going to happen.

I actually could be satisfied if instead of repeating it stops and I have to restart it again. But what I don't want is that the player jumps to another folder.

I really feel stupid not understanding that...

Share this post


Link to post
Share on other sites

Ah, you initially didn't mention wanting to repeat, just that further tracks did not play.

In Folders (and Folders Hierarchy) mode, selecting Repeat is designed to repeat all of the songs in the current folder only. It will not repeat multiple folders, nor will it repeat any subfolders of a currently playing folder.

If you tap the small metadata line at the bottom of the player screen, you can cycle the info round to show the current playback category (Folders) and the currently playing  track number out of the total tracks in the current category - e.g. "FOLDERS 1/16". If you then enable Repeat, those are the 16 tracks that will be repeated.

The only way to do what you want (i.e. repeat-playback of all of the songs in a folder AND its subfolders) would be to long-press on the containing folder name in the Library view (which would need to be Folders Hierarchy if the top folder does not contain any actual song files) and use Add to Playlist to place all of the folder and subfolder contents into a flattened category that can be repeated. You can also use the Queue to do this, but you must have the queue-end mode set to remain in queue/repeat at end (Settings > Library > Queue > On Queue End), so a Playlist would probably be a better choice to avoid having to keep changing that setting.

Andre

Share this post


Link to post
Share on other sites
14 hours ago, andrewilley said:

In Folders (and Folders Hierarchy) mode, selecting Repeat is designed to repeat all of the songs in the current folder only. It will not repeat multiple folders, nor will it repeat any subfolders of a currently playing folder.

 

This is not really the precise description of the behavior, because, in Folders Hierarchy mode, when I select a folder with no music files it does go to subfolders until it meets one which has audio files and then loops there. And for me this is clearly a bug, I don't see how this could be the expected behavior otherwise.

As I said repeating is not the most important, the most important is to not jump to another "random" folder after finishing the one I selected. But now I understand that I have to create a new playlist for every folder I have and their parents (dozens of combinations).

I am really disappointed because this is not a complicated feature since shuffling in the hierarchy seems to work, playing the same list but in the initial order is supposed to be easier. This is a base feature of much more basic players such as Clean Music Player (which is unfortunately no longer maintained...)

Thank you for the reply anyway :)

 

Share this post


Link to post
Share on other sites
9 hours ago, Asmodeus said:

in Folders Hierarchy mode, when I select a folder with no music files it does go to subfolders until it meets one which has audio files

Yes, that would have to happen. If there are no playable songs in the currently chosen folder, PA would have to try the next folder (or, in this case, subfolders first) in List Order until it finds something it can play. And once playing, the normal repeat rules would apply. Remember, Folder Repeat does just what it says on the tin - it repeats the current song's folder only, not any nested contents or parent folders. It would be nice to have an option to be able to repeat a whole folder/subfolder hierarchy (such as playing folder D0 with all of its subfolders in repeat mode) but that's something for the Feature Requests forum rather than Bug Reports.

However to get back to your main point (as I think the repeat issue appears to be a bit of a diversion, best to set up a new Feature Request post for that) when you play any songs in Folders or Folders Hierarchy library modes, at the end of the current folder PA should move seamlessly on to the next folder in your chosen List Options order (assuming Advance List has been selected as the Repeat mode anyway, otherwise it would stop or repeat at the end of the folder). PA should not be picking random contents at this point unless you have one of the Shuffle modes enabled. So just to reiterate what I said before, this is how it should be working:

On 6/7/2019 at 9:14 AM, andrewilley said:

If you have Folder view set to be sorted By Path, then that would mean playback would continue from D0 with folders D00, D01, D02, then D1, then D10, D11, D12, etc.

Please can you confirm that with Repeat mode set to 'Advance List' and Shuffle set to Off, the playback order for your example above matches the order in which the folders are displayed in the Folders library view, i.e:

f03.mp3
f04.mp3
f000.mp3
f001.mp3
f010.mp3
f011.mp3
f020.mp3
f021.mp3
f13.mp3
f14.mp3
f100.mp3
f101.mp3
f110.mp3
f111.mp3
f120.mp3
f121.mp3
f200.mp3
f201.mp3
f210.mp3
f211.mp3
f220.mp3
f221.mp3

(remember that all categories and song levels have their own set of individual List Options, so 'Folders' and 'Folders Hierarchy' can be set to use differing sort orders if you wish; for now, make sure both are set to By Path at the folders level and By Filename at the songs level) 

Andre

Share this post


Link to post
Share on other sites

Sorry for the late reply, I am in the middle of a business trip.

Thank you for the reply. I confirm the file order matches the behavior of PA.

Best.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...