Skip to content

Repeated Timer filenames are corrupted #4126

@felixalacampagne

Description

@felixalacampagne

https://github.com/OpenPLi/enigma2/blame/81e8a636c04f0ef69ef341332830c6c00ed4c949/lib/python/RecordTimer.py#L342

Just switched to using an Octagon SF8008 receiver running OpenPLi 9.0 instead of a Dreambox DM7025 also running OpenPLi (not 9.0!) and have seen that repeated timers are being saved with corrupted filenames, eg.

Timer title/name: Showname YY-MM-DD 1x01 Episode 01
Expected 'standard' filename: Timerdate - Channel Id - Showname YY-MM-DD 1x01 Episode 01
Actual filename: Timerdate - Channel Id - Showname

Note that my VU+ Ultimo with OpenPli saves timers with the expected 'standard' name.

After some searching I tracked this down to some code in RecordTimer.py which, for no discernible reason, is replacing the required filename with the 'eventname':

L342: name = event_name
if not self.calculateFilename(event_name):

I have fixed this for my current installation but I imagine that my fix will eventually be overwritten by updates which will unexpectedly cause the corrupted filenames to start appearing again, and causing me to waste a lot of time fixing the filenames.

So, is there any way to get this fix included the release code?
Or some option added to restore the normal behaviour for filenames if for some inexplicable reason the current behaviour is desirable.

Also, how can I tell which branch was used to create the installed version? I originally tried updating the 'develop' branch version that completely broke the UI. I had more success with the version from 'release-9.0'. The version of openpli installed is reported as 'OpenPLi 9.0-release (2024-10-11-release-9.0)' but the release-9.0 branch seems to be much older.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions