XilinJia / Podcini

Open source podcast player for Android in Kotlin with androidx.media3
GNU General Public License v3.0
124 stars 5 forks source link

recursive local folder support #6

Open Tokariew opened 4 months ago

Tokariew commented 4 months ago

Checklist

App version

4.2.1

Where did you get the app from

F-Droid

Problem you may be having, or feature you want

Hi, I would like to be able add my Podcast folder, which inside have multiple directories, which each contain single podcast show. Currently when adding such folder I get empty list.

Suggested solution

Add recursive local folder support like in audioanchor

Screenshots / Drawings / Technical details

No response

XilinJia commented 4 months ago

"Currently when adding such folder I get empty list." how did you add a folder?

In Podcini, tags are used to organize podcasts. Can't you use tags instead of folders?

Tokariew commented 4 months ago

https://github.com/XilinJia/Podcini/assets/7306237/35872815-f8e7-4136-a0da-212b74e3408d

I add folder as such in this video. When I add singular folder it work great, but when I added folder with subdirectories it stay empty.

XilinJia commented 4 months ago

I see. Can you list the contents in the two folders you tried to open?

Tokariew commented 4 months ago
.
├── intentionally-blank
│   ├── 2022-01-26-wheel-of-time-season-one-a-full-discussion.opus
│   ├── 2022-02-02-he-doesn-t-hate-me-he-hates-my-work.opus
│   ├── 2022-02-09-its-amusing-for-me-to-think-about-ben.opus
│   ├── 2022-02-16-two-middle-aged-guys-talking-about-encanto.opus
│   ├── 2022-02-23-you-re-different-i-m-not-talking-about-you.opus
│   ├── 2022-03-02-hating-hades.opus
│   ├── 2022-03-09-tangential-to-a-bad-story.opus
│   ├── 2022-03-16-high-stake-steak-heist-arcane-ep-1-3.opus
│   ├── 2022-03-23-the-sith-are-moral-upright-good.opus
│   ├── 2022-03-30-generation-x-kids-these-days.opus
│   ├── 2022-04-06-titanic-2-sink-harder.opus
│   ├── 2022-04-13-arcane-ep-4-6-spider-man-no-way-home.opus
│   ├── 2022-04-20-give-yourself-a-gun-it-helps-a-ton.opus
│   ├── 2022-04-27-we-ve-come-for-your-sourdough.opus
│   ├── 2022-05-04-very-few-fish-relatively-speaking.opus
│   ├── 2022-05-11-legally-it-s-a-joke.opus
│   ├── 2022-05-18-arcane-a-full-discussion.opus
│   ├── 2022-05-25-that-is-a-terrible-dumb-show.opus
│   ├── 2022-06-01-cats-is-marvelous.opus
│   ├── 2022-06-08-i-cant-give-you-a-hemi.opus
│   ├── 2022-06-15-moon-knight-marvel-phase-four.opus
│   ├── 2022-06-22-nobody-wants-us-at-their-fancy-party.opus
│   ├── 2022-06-29-moon-knight-a-full-discussion.opus
│   ├── 2022-07-06-a-long-slow-root-canal.opus
│   ├── 2022-07-13-the-lost-city-and-other-dumb-awesome-movies.opus
│   ├── 2022-07-20-everything-everywhere-all-at-once-a-full-discussion.opus
│   ├── 2022-07-27-doctor-strange-in-the-multiverse-of-madness-a-full-review.opus
│   ├── 2022-08-03-you-didn-t-just-fail-you-critical-failed.opus
│   ├── 2022-08-10-death-of-the-author.opus
│   ├── 2022-08-17-pride-bride-prejudice-zombies.opus
│   ├── 2022-08-24-penguin-random-house-and-simon-schuster-merger-trial.opus
│   ├── 2022-08-31-talking-the-rings-of-power-trailer-ep-65-of-intentionally-blank.opus
│   ├── 2022-09-07-ep-1-ep-2-of-lotr-the-rings-of-power-ep-66-of-intentionally-blank.opus
│   ├── 2022-09-14-a-george-lucas-bad-story-idea-john-carter-and-yesterday-ep-67-of-intentionally-blank.opus
│   ├── 2022-09-21-talking-all-about-smartphones-ep-68-of-intentionally-blank.opus
│   ├── 2022-09-28-is-gandalf-a-mary-sue.opus
│   ├── 2022-10-06-the-hot-ones-challenge-ep-70-of-intentionally-blank.opus
│   ├── 2022-10-12-from-paperboys-to-bestselling-authors-ep-71-of-intentionally-blank-at-fanx.opus
│   ├── 2022-10-19-fanx-2022-q-a-ep-72-of-intentionally-blank.opus
│   ├── 2022-10-26-new-york-comic-con-2022-q-a-ep-73-of-intentionally-blank.opus
│   ├── 2022-11-02-ep-3-ep-4-of-lotr-the-rings-of-power-ep-74-of-intentionally-blank.opus
│   ├── 2022-11-09-our-star-trek-addiction-ep-75-of-intentionally-blank.opus
│   ├── 2022-11-16-our-experience-of-working-on-moonbreaker-ep-76-of-intentionally-blank.opus
│   ├── 2022-11-23-i-have-thoughts-about-rings-of-power-ep-77-of-intentionally-blank.opus
│   ├── 2022-11-30-in-defense-of-rings-of-power-kinda.opus
│   ├── 2022-12-07-let-s-talk-about-trunk-novels-ep-79-of-intentionally-blank.opus
│   ├── 2022-12-14-q-a-from-dragonsteel-2022.opus
│   ├── 2022-12-21-you-have-a-heart-of-coal.opus
│   ├── 2023-01-05-fan-casting-the-stormlight-archive-with-muppets.opus
│   ├── 2023-01-11-lost-luggage-and-lighting-ep-84-of-intentionally-blank.opus
│   ├── 2023-01-18-the-best-dollar-i-ever-spent-ep-85-of-intentionally-blank.opus
│   ├── 2023-01-25-explaining-our-terrible-taste-ep-86-of-intentionally-blank.opus
│   ├── 2023-02-01-writers-on-wheels-dark-one.opus
│   ├── 2023-02-08-a-philosophy-of-blank-ep-87-of-intentionally-blank.opus
│   ├── 2023-02-15-if-youre-going-to-do-it-do-it-poorly-ep-89-of-intentionally-blank.opus
│   ├── 2023-02-22-brandon-and-definitely-dan-talk-about-stuff-ep-90-of-intentionally-blank.opus
│   ├── 2023-03-01-is-ted-lasso-ned-flanders-ep-91-of-intentionally-blank.opus
│   ├── 2024-01-03-the-best-action-movie-of-the-year-intentionally-blank-ep-135.opus
│   ├── 2024-01-10-finally-reviewing-spiderman-across-the-spider-verse-intentionally-blank-ep-136.opus
│   ├── 2024-01-17-our-2023-year-in-review-intentionally-blank-ep-137.opus
│   ├── 2024-01-24-the-infamous-ice-cream-tier-list-intentionally-blank-ep-138.opus
│   ├── 2024-01-31-caribbean-island-adventures-intentionally-blank-ep-139.opus
│   ├── 2024-02-07-hugos-oscars-and-turtles-intentionally-blank-ep-140.opus
│   ├── 2024-02-14-our-long-forgotten-trunk-novels-intentionally-blank-ep-141.opus
│   ├── 2024-02-21-pure-muppet-muppet-movies-intentionally-blank-ep-142.opus
│   └── 2024-02-28-trying-out-cold-case-ice-cream-intentionally-blank-ep-143.opus
├── lateral-with-tom-scott
│   ├── 2024-02-23-72-billy-joel-s-kohuept.opus
│   └── 2024-03-01-73-resurrecting-mammoths.opus
├── ludzie-ktorzy-zmienili-swiat
│   └── 2024-02-29-niedzwiedz-wojtek-zolnierz-spod-monte-cassino.opus
├── piate-nie-zabijaj
│   ├── 2024-01-10-147-podsumowanie-spraw-z-2023-roku.opus
│   ├── 2024-01-17-148-co-sie-stalo-z-basia-barbara-chrzczonowicz.opus
│   ├── 2024-01-26-149-ostatni-powrot-do-domu-halina-i-edward-chudziccy.opus
│   ├── 2024-02-17-150-zeby-najbardziej-ja-zabolalo-damian-rzeszowski.opus
│   └── 2024-02-24-151-wybiegl-w-pole-kukurydzy-i-zniknal-sebastian-sierpinski.opus
├── readtimes.py
├── stuff-you-should-know
│   ├── 2024-02-28-short-stuff-smudging-not-just-for-hippies.opus
│   ├── 2024-02-29-wireless-electricity-when-can-we-unplug-our-tvs.opus
│   └── 2024-03-02-selects-the-case-of-sacco-and-vanzetti.opus
├── the-infinite-monkey-cage
│   ├── 2024-02-14-egyptian-mummies.opus
│   ├── 2024-02-21-could-it-be-magic.opus
│   └── 2024-02-28-asteroids.opus
├── the-magic-story-podcast
│   └── 2024-03-04-murders-at-karlov-manor-67-beauty-in-destruction-full-audio-story.opus
├── the-numberphile-podcast
│   ├── 2018-11-22-fermats-last-theorem-with-ken-ribet.opus
│   ├── 2018-12-16-delicious-problems-with-hannah-fry.opus
│   ├── 2019-01-08-the-klein-bottle-guy-with-cliff-stoll.opus
│   ├── 2019-02-11-the-math-storyteller-with-simon-singh.opus
│   ├── 2019-02-24-parker-square-with-matt-parker.opus
│   ├── 2019-04-07-a-proof-in-the-drawer-with-david-eisenbud.opus
│   ├── 2019-05-14-the-offensive-lineman-with-john-urschel.opus
│   ├── 2019-05-20-the-singing-banana-with-james-grime.opus
│   ├── 2019-06-17-the-c-word-talking-calculus-with-steven-strogatz.opus
│   ├── 2019-08-14-the-number-collector-with-neil-sloane.opus
│   ├── 2019-10-22-fame-and-admiration-with-timothy-gowers.opus
│   ├── 2019-11-10-the-badly-behaved-prime-with-james-maynard.opus
│   ├── 2019-12-03-coffin-problems-with-edward-frenkel.opus
│   ├── 2019-12-13-champaign-mathematician-with-holly-krieger.opus
│   ├── 2020-03-31-gondor-calls-for-aid-with-kit-yates.opus
│   ├── 2020-04-10-crystal-balls-and-coronavirus-with-hannah-fry.opus
│   ├── 2020-04-13-the-legendary-john-conway-1937-2020.opus
│   ├── 2020-04-19-the-accidental-streamer-with-3blue1brown.opus
│   ├── 2020-05-21-the-parker-quiz-with-matt-parker.opus
│   ├── 2020-05-27-the-happy-twin-with-ben-sparks.opus
│   ├── 2020-07-01-the-numeracy-ambassador-with-simon-pampena.opus
│   ├── 2020-07-13-the-mathematical-showman-ron-graham-1935-2020.opus
│   ├── 2020-07-23-the-third-cornet-with-katie-steckles.opus
│   ├── 2020-08-08-why-did-the-mathematician-cross-the-road-with-roger-penrose.opus
│   ├── 2020-09-12-the-importance-of-numbers-with-tim-harford.opus
│   ├── 2020-10-05-nursery-rhymes-and-numbers-with-alan-stewart.opus
│   ├── 2020-10-23-quiz-shows-and-math-anxiety-with-bobby-seagull.opus
│   ├── 2020-11-25-club-automatic-with-alex-bellos.opus
│   ├── 2020-12-08-why-study-mathematics-with-vicky-neale.opus
│   ├── 2020-12-11-statistics-and-saving-lives-with-jennifer-rogers.opus
│   ├── 2021-02-02-rockstar-epidemiologists-with-adam-kucharski.opus
│   ├── 2021-02-25-the-high-jumping-cosmologist-with-katie-mack.opus
│   ├── 2021-04-03-beauty-in-the-messiness-with-philip-moriarty.opus
│   ├── 2021-05-31-the-naked-mathematician-with-tom-crawford.opus
│   ├── 2021-07-26-a-chance-at-immortality-with-marcus-du-sautoy.opus
│   ├── 2021-08-28-making-sense-of-infinity-with-asaf-karagila.opus
│   ├── 2021-12-02-google-s-deepmind-does-mathematics.opus
│   ├── 2022-01-13-the-little-star-with-zvezdelina-stankova.opus
│   ├── 2022-02-13-an-infinite-debt-with-christopher-havens-prisoner-349034.opus
│   ├── 2022-03-14-the-first-and-last-digits-of-pi.opus
│   ├── 2022-04-18-a-passion-for-big-numbers-and-liverpool-fc-with-tony-padilla.opus
│   ├── 2022-05-29-the-orchid-room-and-cancer-with-hannah-fry.opus
│   ├── 2022-07-11-an-educated-adult-with-tadashi-tokieda.opus
│   ├── 2022-12-13-finding-a-path-with-tatiana-toro.opus
│   ├── 2023-01-18-a-chain-of-chance-with-michael-merrifield.opus
│   ├── 2023-02-21-an-a-class-reject-with-ed-copeland.opus
│   └── 2024-01-16-a-very-bad-estimator-with-donald-knuth.opus
├── theories-of-everything-with-curt-jaimungal
│   ├── 2023-05-26-chris-langan-iq-free-will-psychedelics-ctmu-including-a-discussion-with-bernardo-kastrup.opus
│   ├── 2023-06-05-john-greenewald-mojave-uaps-foia-gov-t-coverups.opus
│   ├── 2023-06-16-bernardo-kastrup-l-susan-blackmore-conscious-illusion.opus
│   ├── 2023-06-30-quantum-gravity-s-controversial-ties-to-anti-gravity-curt-documentary.opus
│   ├── 2023-07-04-ross-coulthart-recovered-uaps-whistleblower-grusch-part-2.opus
│   ├── 2023-07-12-curt-neil-degrasse-tyson-feud-over-philosophy-of-physics-preview.opus
│   ├── 2023-07-13-neil-degrasse-tyson-chaitin-s-theorem-ai-ufos.opus
│   ├── 2023-07-25-tim-maudlin-l-tim-palmer-superdeterminism-vs-bell-s-theorem.opus
│   ├── 2023-08-01-noam-chomsky-buddhism-ai-chatgpt-mind-body.opus
│   ├── 2023-08-07-dennis-mckenna-deceptive-psychedelics-consciousness.opus
│   ├── 2023-08-14-david-hand-ai-dark-data-llms-peer-review.opus
│   ├── 2023-08-22-anand-vaidya-moving-beyond-non-dualism.opus
│   ├── 2023-08-28-gregory-chaitin-complexity-metabiology-godel-cold-fusion.opus
│   ├── 2023-09-01-lue-elizondo-reveals-the-terrifying-truth-behind-ufos-compilation-from-2020-2021.opus
│   ├── 2023-09-07-jeffrey-mishlove-remote-viewing-testing-the-paranormal.opus
│   ├── 2023-09-20-edward-frenkel-infinity-string-theory-death-the-self.opus
│   ├── 2023-09-26-the-man-who-found-post-quantum-reality-jonathan-oppenheim.opus
│   ├── 2023-10-04-tim-maudlin-l-bernardo-kastrup-non-locality-bell-s-theorem.opus
│   ├── 2023-10-10-lawrence-krauss-multiverse-dark-energy-living-forever.opus
│   ├── 2023-10-17-joscha-bach-l-ben-goertzel-conscious-ai-llms-agi.opus
│   ├── 2023-10-19-jesse-michels-ufos-david-grusch-venture-capital.opus
│   ├── 2023-10-24-anand-vaidya-vedic-philosophy-epistemology-counterfactuals.opus
│   ├── 2023-11-06-addiction-trauma-porn-dopamine-detox-anna-lembke.opus
│   ├── 2023-11-09-david-chalmers-are-large-language-models-conscious.opus
│   ├── 2023-11-22-peter-woit-unification-spinors-twistors-string-theory.opus
│   ├── 2023-12-06-peter-woit-unification-twistors-and-the-death-of-string-theory.opus
│   ├── 2023-12-07-massive-channel-update-dec-2023.opus
│   ├── 2023-12-08-free-will-explained-by-worlds-top-intellectuals.opus
│   ├── 2023-12-11-scott-aaronson-the-greatest-unsolved-problem-in-math.opus
│   ├── 2023-12-12-joscha-bach-l-karl-friston-ai-death-self-god-consciousness.opus
│   ├── 2023-12-19-reality-god-consciousness-donald-hoffman-l-philip-goff.opus
│   ├── 2023-12-22-the-best-of-lue-elizondo-ufos-human-history-altered-dna.opus
│   ├── 2023-12-26-daniel-dennett-philosophy-free-will-thinking-differently.opus
│   ├── 2023-12-29-free-will-morality-responsibility-intuition-robert-sapolsky.opus
│   ├── 2024-01-02-virtual-reality-is-genuine-reality-david-chalmers-mindfest-lecture.opus
│   ├── 2024-01-09-chiara-marletto-constructor-theory-ghost-particles-and-new-form-of-science.opus
│   ├── 2024-01-15-fidias-interviews-curt-jaimungal-on-podcasting-free-will-morality.opus
│   ├── 2024-01-17-michael-levin-introducing-anthrobots-and-hyper-embryos-world-exclusive.opus
│   ├── 2024-01-30-alex-honnold-fear-finding-purpose-climbing.opus
│   ├── 2024-02-01-parker-interviews-curt-jaimungal-on-the-simulation-hypothesis-god-and-authenticity.opus
│   ├── 2024-02-02-physics-ufos-parapsychology-jesse-michels-curt-jaimungal.opus
│   ├── 2024-02-12-carlos-farias-interviews-curt-jaimungal-on-string-theory-hopf-fibrations-paradoxes.opus
│   ├── 2024-02-14-time-and-quantum-mechanics-solved-lee-smolin.opus
│   ├── 2024-02-15-marwa-interviews-curt-jaimungal-on-ufos-religion-god-free-will.opus
│   ├── 2024-02-20-solving-the-problem-of-observers-entropy-stephen-wolfram.opus
│   ├── 2024-02-27-curt-jaimungal-s-presentation-at-polymath.opus
│   └── 2024-02-27-what-to-expect-from-ai-in-2025-scott-aaronson.opus
├── the-weirdest-thing-i-learned-this-week
│   └── 2024-02-28-bird-milk-space-lube-hermit-crab-housing-crisis.opus
├── true-stories-with-seth-andrews
│   └── 2024-03-04-true-stories-256-you-bet-your-life.opus
└── unsupervised-learning
    └── 2024-03-04-a-conversation-with-ismael-valenzuela-about-ai-and-threat-intelligence.opus

The directory which worked, is one of subdirectories

XilinJia commented 4 months ago

So, in your case, podcast is the parent directory of intentionally-blank, and when you open intentionally-blank, refresh works, but when you open podcast, it doesn't refresh?

Does the same operation work as expected in AntennaPod (I presume you have used that app)?

Tokariew commented 4 months ago

I didn't use earlier AntennaPod, but after installing, it work the same like in Podcini Refreshing intentionally-blank work, refreshing in podcast don't work, it stay blank.

XilinJia commented 4 months ago

OK, will check about it.

XilinJia commented 4 months ago

This case may be up for discussion. When a directory with episode files is opened, the app opens a podcast with episodes, that's what it is doing. but when a directory with sub-directories that contain episode files is opened, it's not right to treat the top directory as a podcast, because the sub-directories are podcasts and we don't have podcast containing podcasts. And it might gets more complicated when the top directory contains episode files and sub-directories.