I wrote a script that will tell you why a program was recorded or why a program is scheduled to be recorded.
If anybody is interested to try it and report any bugs.
Not only does this script tell you what pass triggered a recording, but it also shows when a recording was scheduled manually, or if a program was imported into the library.
Also, the title doesn't have to be exact, you can type only a part of the title. Keep in mind, in this case, that you may get a lot results.
Here is an example that shows recordings triggered by a pass, imported programs in the library, and one manual recording:
python cdvr_find_pass.py -t "Big Brother"
> Using Channels DVR server located at: http://127.0.0.1:8089.
>
> Looking for matches...
>
> |----------------------|
> | Scheduled recordings |
> |----------------------|
>
> - Episode "Big Brother" S25E5 triggered by pass: "TiVo 013. Big Brother"
> will be recorded on Sunday, 08/13/2023 @ 19:59:00 on channel 2
>
> - Episode "Big Brother" S25E6 triggered by pass: "TiVo 013. Big Brother"
> will be recorded on Wednesday, 08/16/2023 @ 19:59:00 on channel 2
>
> - Episode "Big Brother" S25E7 triggered by pass: "TiVo 013. Big Brother"
> will be recorded on Thursday, 08/17/2023 @ 21:00:00 on channel 2
>
> - Episode "Big Brother" S25E8 triggered by pass: "TiVo 013. Big Brother"
> will be recorded on Sunday, 08/20/2023 @ 19:59:00 on channel 2
>
> - Episode "Big Brother" S25E9 triggered by pass: "TiVo 013. Big Brother"
> will be recorded on Wednesday, 08/23/2023 @ 19:59:00 on channel 2
>
> - Episode "Big Brother" S25E10 triggered by pass: "TiVo 013. Big Brother"
> will be recorded on Thursday, 08/24/2023 @ 21:00:00 on channel 2
>
> - Episode "Big Brother" S25E11 triggered by pass: "TiVo 013. Big Brother"
> will be recorded on Sunday, 08/27/2023 @ 19:59:00 on channel 2
>
>
> |-------------------|
> | Library programs |
> |-------------------|
>
> - Episode "Big Brother" S25E4 triggered by pass: "TiVo 013. Big Brother"
> "D:\DVR\TV\Big Brother\Big Brother S25E04 2023-08-10-2100.mpg"
>
> - Episode "Big Brother" S25E3 triggered by pass: "TiVo 013. Big Brother"
> "D:\DVR\TV\Big Brother\Big Brother S25E03 2023-08-09-1959.mpg"
>
> - Episode "Big Brother" S25E2 is an import:
> "J:\TV\Big Brother\Season 25\Big Brother S25E02 2023-08-06-1959.mkv"
>
> - Episode "Big Brother" S25E1 is an import:
> "J:\TV\Big Brother\Season 25\Big Brother S25E01 2023-08-02-1959.mkv"
>
> - Show "Big Brother: 25th Anniversary Celebration" is a manual recording.
> "D:\DVR\TV\Big Brother 25th Anniversary Celebration\Big Brother 25th Anniversary Celebration 2023-07-26-2059.mpg"