Ok, It seems I did it.
Event>Time>6:30
Task>List Files>
Directory : au.com/shiftjelly.pocketcasts/files/PocketCasts/podcasts
Match : *.mp3
Variable : %filesToTest
Task>For
Variable : %filesToTest
Item : %filesToTest()
Task>Open File
File : filesToTest(>)
I pieced it togethyer from a StackSocial post here https://android.stackexchange.com/questions/45597/get-list-of-filenames-via-tasker.
> Ok, It seems I did it.
From what I can tell you are only playing the last file in the array. I do not believe this will always be the most recent file. You will either need to sort the array using the 'test file' action or you can get it in sorted order with a shell command. I believe it is the 'find' command. If you google 'shell find command' you might be able to get it. I think I have it somewhere and will check when i get some time. If you post again for help include you exported profile description.
To post your profile or task here... Long press on the profile or task name / ( 3 dot menu with 4.0+ ) export / export "DESCRIPTION" to clipboard (not XML)
Any linked tasks will be exported with the profile they are linked to..
To be able to export, The beginner mode needs to be off and the profile needs to be named by you (Not the Tasker listed name. Tasker will list your profile with the context name if you have not given it one).