Repetitive notifications from OliveTin for CDVR action "Channel Lineup Change Notifications"

Continuing the discussion from OliveTin for Channels: An Interface for Misc Channels DVR Scripts & Tricks:

This topic is based upon my previous post as follows:

Yes, I am receiving repetitive identical email notifications at the specified interval in the OliveTin action. I have killed and restarted the action for different intervals and the notification repeats according to the setting. This was triggered by a single source addition earlier in the day.

@mjitkop I took a quick look this morning, and it appears the issue has to do with these new "native" sources having underscores in the name.

The create_local_file_name function replaces spaces with underscores when writing, and then get_source_names_from_disk reverses this process by replacing all underscores with spaces. As a result, the reconstructed ADBTuner - app cbs never matches ADBTuner - app_cbs.

1 Like

I also wondered if it could be something about the source name. I deleted the source and re-created it with a new name. I restarted the notification action with a 5 minute frequency, and am not getting repeated notifications. I have only received a single message about the creation of the re-named source.

Thanks for investigating, @bnhf, and thank you, @jsfullam, for confirming.

I was thinking about it since last night and suspected some type of mismatch between the source name and the file on the disk.

You saved me some time for investigation. :slightly_smiling_face:

I'm quite busy this weekend so I will probably not be able to work on a fix until next week.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

I implemented a fix in the channels_dvr_monitor_channels.py script for CDVR Custom Channel Sources that contain underscores.

@mjitkop I submitted a PR against your repo for this script a few minutes ago. It's been tested on a limited basis, and seems to be working fine.

@jsfullam I've pushed bnhf/olivetin:latest (aka bnhf/olivetin:2026.07.30) which incorporates this fix, so when you have a moment, I'd appreciate it if you could confirm that sources with underscores are behaving like any others.

1 Like

Thanks, @bnhf! I will look at it and merge it soon.

My first time getting a PR. :slightly_smiling_face:

I appreciate this while I'm going through a couple of health issues. I have a medical procedure on my heart on Tuesday. Things should be better for me after next week. :crossed_fingers:

I'll be happy to take a look at it tomorrow. :slightly_smiling_face:

Yep. All is well. My two existing sources app_pbs and app_cnn are not triggering any notifications. I also added a new source, app_cbs, using the Olivetin one-click "Create Native ADBTuner Channels + CDVR Custom Channels" action. It only prompted a single notification (as expected) and has not sent any repetitive messages.

2 Likes