Skip to content

Cleanup not working #167

@tuxpeople

Description

@tuxpeople

I tried to reclaim some space and adjusted the numbers for keeping downloaded episodes. But the diskspace used was not going down. Digging further, I found following issue.

Given this configuration:

 [feeds.MyMechanics]
  url="https://www.youtube.com/channel/UCMrMVIBtqFW6O0-MWq26gqw"
  page_size = 5
  update_period = "18h"
  quality = "high"
  format = "video"
  clean = { keep_last = 5 }

The numbers have been higher earlier and got downsized various times. But:

[root@nuc4 runtime]# ls -1 /opt/docker/compose/data/podsync/data/MyMechanics/
6hVeWufC4E0.mp4
6iDJNGdMFls.mp4
9oWOu7tTBxo.mp4
ANsqM0tuXNo.mp4
dgZ41Rg1whs.mp4
FDAWzg0TgVo.mp4
fWikGne44F0.mp4
JmSXo0XdWoA.mp4
JXohCvh2omI.mp4
KahctElSnpw.mp4
kqLoC2U5u-g.mp4
ksCQqViwv2s.mp4
lV2T_IQOR24.mp4
nkzk-6lCSHc.mp4
nltNxh4PaZY.mp4
OyhfQYHnJuM.mp4
PbIj7v5oFUE.mp4
PiYLIXPacuk.mp4
PuBywc6Lnk8.mp4
qixylE1GOWs.mp4
R2M83iah9fo.mp4
R5r8_79x3Z0.mp4
tOVB9I4s0Cs.mp4
TtBeYsx0kEs.mp4
U2jNeObHnZY.mp4
UVkbYlQfNqE.mp4
YNnDGTTcdqw.mp4
YPpmIDlBQkI.mp4
zFbHfB2AnVQ.mp4
zgDVx9tg0lQ.mp4

This are 30 files (which was probably the initial value of page_size and clean). Podsync should have deleted 25 of them. Let's see whats inside the XML:

[root@nuc4 runtime]# grep enclosure /opt/docker/compose/data/podsync/data/MyMechanics.xml
      <enclosure url="http://podsync.eighty-three.me/MyMechanics/JXohCvh2omI.mp4" length="508067476" type="video/mp4"></enclosure>
      <enclosure url="http://podsync.eighty-three.me/MyMechanics/JmSXo0XdWoA.mp4" length="488671169" type="video/mp4"></enclosure>
      <enclosure url="http://podsync.eighty-three.me/MyMechanics/KahctElSnpw.mp4" length="360988915" type="video/mp4"></enclosure>
      <enclosure url="http://podsync.eighty-three.me/MyMechanics/YPpmIDlBQkI.mp4" length="500192183" type="video/mp4"></enclosure>

Looks like there are not even the 5 I configured in it. Something is wrong (at least with the clean) but maybe also with the generation of the feed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions