Frndly TV for Channels

Well if it really is a momentary blip at ad insertion and the recording continues then the only issue is the loss of a split second of ad. I can live with that.

When the feed stops, i have to go back to the guide and launch the channel.
I'm hoping FETV and those folks at FRNDLY will correct the issue with insertion.
When the insertion works, it transitions nicely. FETV doesn't really allow for time to insert local ads.

My interruptions are occurring on multiple channels. I actually did not use FETV as one of my tests. I watched the recording at the time of the interruption and it was during a commercial break but I could not see the interruption.

Well my Docker logs are showing nothing at the time of interruption aside from the reconnection.

Channels Log

2022/07/02 20:59:30.000612 [DVR] Starting job 1656813570-ch5032 A Taste of Ireland on ch=[5032]
2022/07/02 20:59:30.000704 [DVR] Waiting 12h59m59.999300622s until next job 1656860370-35 Did I Mention Invention?
2022/07/02 20:59:31.270488 [TNR] Opened connection to M3U-Frndly2TV for ch5032 Recipe.TV
2022/07/02 20:59:31.270708 [DVR] Recording for job 1656813570-ch5032 from M3U-Frndly2TV ch5032 into "TV/A Taste of Ireland/A Taste of Ireland 2021-05-12 2022-07-02-2059.mpg" for 31m29.999264595s
2022/07/02 20:59:32.331194 [DVR] Refreshing metadata for A Taste of Ireland (19488988)
2022/07/02 20:59:33.579681 [IDX] Generating video index for job 1656813570-ch5032
2022/07/02 21:01:00.168341 [TNR] Closed connection to M3U-Frndly2TV for ch5010 Game Show Network
2022/07/02 21:01:00.428139 [MTS] Statistics for "TV/America Says/America Says S03E89 2019-11-21 The Teaching Crew vs Fun Teachers 2022-07-02-2029.mpg": skipped=0 unhandled_packets=0 discontinuity_detected=0 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true saw_pmt=true highest_pts=1902.033333
2022/07/02 21:01:00.432353 [DVR] Finished job 1656811770-ch5010 America Says
2022/07/02 21:01:00.920219 [DVR] Waiting 12h58m29.079787648s until next job 1656860370-35 Did I Mention Invention?
2022/07/02 21:01:01.182362 [DVR] Processing file-5148: TV/America Says/America Says S03E89 2019-11-21 The Teaching Crew vs Fun Teachers 2022-07-02-2029.mpg
2022/07/02 21:01:02.200774 [DVR] Running commercial detection on file 5148 (TV/America Says/America Says S03E89 2019-11-21 The Teaching Crew vs Fun Teachers 2022-07-02-2029.mpg)
2022/07/02 21:05:40.739453 [DVR] Commercial detection for America Says S03E89 2019-11-21 The Teaching Crew vs Fun Teachers 2022-07-02-2029.mpg finished with 6 markers in 4m38.538945959s.
2022/07/02 21:22:01.585590 [ERR] Error during stream M3U-Frndly2TV ch5032 Recipe.TV: Failed to download file: https://sr-live2-frndly.akamaized.net/v1/manifest/segment/840a24ccd7c75076211d060179b3ad0c64fdc6ca/live_v2_nr_new/94c6cbab-e3e6-40ec-a973-fa7e0beba7a4/0/252186: 404 Not Found
2022/07/02 21:22:01.801648 [MTS] Statistics for "TV/A Taste of Ireland/A Taste of Ireland 2021-05-12 2022-07-02-2059.mpg": skipped=0 unhandled_packets=0 discontinuity_detected=0 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true saw_pmt=true highest_pts=1351.366667
2022/07/02 21:22:01.943060 [TNR] Closed connection to M3U-Frndly2TV for ch5032 Recipe.TV
2022/07/02 21:22:01.943086 [DVR] Job 1656813570-ch5032 A Taste of Ireland ended prematurely: 8m58.056917699s
2022/07/02 21:22:02.352100 [DVR] Starting job 1656813570-ch5032 A Taste of Ireland on ch=[5032]
2022/07/02 21:22:02.352168 [DVR] Waiting 12h37m27.64783552s until next job 1656860370-35 Did I Mention Invention?
2022/07/02 21:22:03.439686 [TNR] Opened connection to M3U-Frndly2TV for ch5032 Recipe.TV
2022/07/02 21:22:03.439732 [DVR] Recording for job 1656813570-ch5032 from M3U-Frndly2TV ch5032 into "TV/A Taste of Ireland/A Taste of Ireland 2021-05-12 2022-07-02-2059.mpg" for 8m57.6478077s
2022/07/02 21:31:00.038316 [TNR] Closed connection to M3U-Frndly2TV for ch5032 Recipe.TV
2022/07/02 21:31:00.289983 [MTS] Statistics for "TV/A Taste of Ireland/A Taste of Ireland 2021-05-12 2022-07-02-2059.mpg": skipped=0 unhandled_packets=0 discontinuity_detected=0 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true saw_pmt=true highest_pts=1905.052189
2022/07/02 21:31:00.290090 [DVR] Finished job 1656813570-ch5032 A Taste of Ireland
2022/07/02 21:31:00.856975 [DVR] Waiting 12h28m29.143030427s until next job 1656860370-35 Did I Mention Invention?
2022/07/02 21:31:01.209774 [DVR] Processing file-5149: TV/A Taste of Ireland/A Taste of Ireland 2021-05-12 2022-07-02-2059.mpg
2022/07/02 21:31:02.520167 [IDX] Generating video index for file-5149: A Taste of Ireland 2021-05-12 2022-07-02-2059.mpg
2022/07/02 21:31:08.672776 [IDX] Finished video index generation for file-5149 in 6s
2022/07/02 21:31:09.090803 [DVR] Running commercial detection on file 5149 (TV/A Taste of Ireland/A Taste of Ireland 2021-05-12 2022-07-02-2059.mpg)
2022/07/02 21:36:19.349010 [DVR] Commercial detection for A Taste of Ireland 2021-05-12 2022-07-02-2059.mpg finished with 8 markers in 5m10.271048027s.

Docker Log

2022-07-03T02:22:02.806484476Z,stdout,"channel/live/recipe_tv > https://sr-live2-frndly.akamaized.net/v1/master/840a24ccd7c75076211d060179b3ad0c64fdc6ca/live_v2_nr_new/dbfd8439e2bd4a9b97b9fbc9a98bacc2/index.m3u8?ads.rating=tvg&ads.title=a%255Ftaste%255Fof%255Fireland&ads.contenttype=live&ads.app_store_url=https://play.google.com/store/apps/details?id=com.tvapp.frndlytv&ads.app_bundle=com.tvapp.frndlytv&ads.station=recipetv&ads.us_privacy=1YNY&ads.duration=1800000&ads.genre=food%252Ccooking%252Cinstruction&ads.did=d36cc1c5-945b-32fa-ae11-d2e87e215a3f&hdnts=st=1656814922~exp=1656836522~acl=!*/v1/master/840a24ccd7c75076211d060179b3ad0c64fdc6ca/live_v2_nr_new/dbfd8439e2bd4a9b97b9fbc9a98bacc2/*!/payload/yupptvott_43_1181269_SHIELD30X8X4X0_US_172.225.20.133, 65.30.226.226_frndlytv_1_channel_19_-1/*~data=yupptvott_43_1181269_SHIELD30X8X4X0_US_172.225.20.133, 65.30.226.226_frndlytv_1_channel_19_-1~hmac=243c0624f820ce4cbb6c0e060f2a92d204af57c291fb541739ead6cd16d58095

2022-07-03T02:20:42.236785513Z,stderr,127.0.0.1 - - [03/Jul/2022 02:20:42] GET /keep_alive HTTP/1.1" 200 -

2022-07-03T02:20:41.782478645Z,stdout,Keep alive!

2022-07-03T02:15:41.678059022Z,stderr,127.0.0.1 - - [03/Jul/2022 02:15:41] "GET /keep_alive HTTP/1.1" 200 -

2022-07-03T02:15:41.191699233Z,stdout,Keep alive!

2022-07-03T02:10:41.087022297Z,stderr,127.0.0.1 - - [03/Jul/2022 02:10:41] "GET /keep_alive HTTP/1.1" 200 -

2022-07-03T02:10:40.597110047Z,stdout,Keep alive!

2022-07-03T02:05:40.495164846Z,stderr,127.0.0.1 - - [03/Jul/2022 02:05:40] "GET /keep_alive HTTP/1.1" 200 -

2022-07-03T02:05:40.028083982Z,stdout,Keep alive!

2022-07-03T02:00:39.925701641Z,stderr,127.0.0.1 - - [03/Jul/2022 02:00:39] "GET /keep_alive HTTP/1.1" 200 -

2022-07-03T02:00:39.423381390Z,stdout,Keep alive!

2022-07-03T01:59:30.948734287Z,stderr,192.168.1.241 - - [03/Jul/2022 01:59:30] "GET /play/recipe_tv.m3u8 HTTP/1.1" 302 -

2022-07-03T01:59:30.513201439Z,stdout,"channel/live/recipe_tv > https://sr-live2-frndly.akamaized.net/v1/master/840a24ccd7c75076211d060179b3ad0c64fdc6ca/live_v2_nr_new/dbfd8439e2bd4a9b97b9fbc9a98bacc2/index.m3u8?ads.rating=tvg&ads.title=a%255Ftaste%255Fof%255Fireland&ads.contenttype=live&ads.app_store_url=https://play.google.com/store/apps/details?id=com.tvapp.frndlytv&ads.app_bundle=com.tvapp.frndlytv&ads.station=recipetv&ads.us_privacy=1YNY&ads.duration=1800000&ads.genre=food%252Ccooking%252Cinstruction&ads.did=d36cc1c5-945b-32fa-ae11-d2e87e215a3f&hdnts=st=1656813570~exp=1656835170~acl=!*/v1/master/840a24ccd7c75076211d060179b3ad0c64fdc6ca/live_v2_nr_new/dbfd8439e2bd4a9b97b9fbc9a98bacc2/*!/payload/yupptvott_43_1181269_SHIELD30X8X4X0_US_172.225.20.133, 65.30.226.226_frndlytv_1_channel_19_-1/*~data=yupptvott_43_1181269_SHIELD30X8X4X0_US_172.225.20.133, 65.30.226.226_frndlytv_1_channel_19_-1~hmac=159b678938fda13a490e778bd373a8430033faf9f5c831e2bed38966e367bbf3

Errors on the frndly servers. As noted by others the same behavior is happening in their app.

Looks like FRIENDLY TV ad insertion is down.
Hopefully, they get it back up and operational.
Most channels on the service have insertion several times an hour.

@matthuisman
Matt, not sure how soon is soon, but
Movies! channel is coming soon to Frndly TV
tvc-guide-stationid="81275" seems to match their website schedule.

thanks. ill put a note in but I can't add it until I know frndly-tvs channel id for it as I map that to the epg id. I suspect it will be 49 but will wait and see. Ping me once its live

1 Like

Hello @matthuisman, I've noticed that there are 3 new channels on Frndly,

Dove Channel - Kids
Dove Family Movies
Crime + Investigation

I don't know how hard it is to fix, but it sure would be great!

Thanks

1 Like

If you have the latest version, they should be showing up. But without guide data.
I'm using these 2 sources


That will get you titles for the 6 channels with no guide data.

1 Like

Hi there,
The new channels are showing up here with EPG data.
Great jobon the docker.

Since I keep getting interrupted recordings (seconds after the top of the hour) from Frndly TV,
last night I decided to manually start a recording before the top of the hour to see what happens.
Appears when the recording was interrupted at 21:00:13, it logged me out.

Both Channels DVR and frndlyTV for Channels docker logs

2022/07/04 20:52:00.460873 [DVR] Starting job 1656991800-ch9001 Perry Mason on ch=[9001]
2022-07-05T03:52:00.906826048Z 401
2022-07-05T03:52:00.907653879Z Unauthorized access
2022-07-05T03:52:00.907805282Z logging in....
2022-07-05T03:52:02.880584702Z Logged in!
2022-07-05T03:52:03.672383739Z 192.168.1.3 - - [05/Jul/2022 03:52:03] "GET /play/me_tv.m3u8 HTTP/1.1" 302 -
2022/07/04 20:52:04.393771 [TNR] Opened connection to M3U-frndlyTV for ch9001 MeTV
2022/07/04 20:52:04.394372 [DVR] Recording for job 1656991800-ch9001 from M3U-frndlyTV ch9001 into "TV/Perry Mason/Perry Mason S07E09 1963-11-28 The Case of the Festive Felon 2022-07-04-2052.mpg" for 42m59.538803678s
2022/07/04 21:00:13.939406 [ERR] Error during stream M3U-frndlyTV ch9001 MeTV: Failed to download file: https://sr-live2-frndly.akamaized.net/v1/manifest/segment/...: 404 Not Found
2022/07/04 21:00:14.226156 [TNR] Closed connection to M3U-frndlyTV for ch9001 MeTV
2022/07/04 21:00:14.226275 [DVR] Job 1656991800-ch9001 Perry Mason ended prematurely: 34m45.773739474s
2022/07/04 21:00:14.322442 [DVR] Starting job 1656991800-ch9001 Perry Mason on ch=[9001]
2022-07-05T04:00:14.786650733Z 401
2022-07-05T04:00:14.787673747Z Unauthorized access
2022-07-05T04:00:14.787904989Z logging in....
2022-07-05T04:00:16.855460763Z Logged in!
2022-07-05T04:00:17.668838711Z 192.168.1.3 - - [05/Jul/2022 04:00:17] "GET /play/me_tv.m3u8 HTTP/1.1" 302 -
2022/07/04 21:00:18.310681 [TNR] Opened connection to M3U-frndlyTV for ch9001 MeTV
2022/07/04 21:00:18.310828 [DVR] Recording for job 1656991800-ch9001 from M3U-frndlyTV ch9001 into "TV/Perry Mason/Perry Mason S07E09 1963-11-28 The Case of the Festive Felon 2022-07-04-2052.mpg" for 34m45.677065813s
2022/07/04 21:02:27.886449 [MTS] Statistics for "TV/Perry Mason/Perry Mason S07E09 1963-11-28 The Case of the Festive Felon 2022-07-04-2052.mpg": skipped=0 unhandled_packets=0 discontinuity_detected=0 transport_errors=0 invalid_pts=0 invalid_dts=0 saw_pcr=true saw_pmt=true highest_pts=1955.222933
2022/07/04 21:02:27.937347 [TNR] Closed connection to M3U-frndlyTV for ch9001 MeTV
2022/07/04 21:02:27.939883 [DVR] Job cancelled: 1656991800-ch9001 Perry Mason

Anyone else experiencing this where you get logged out?

Those are still the errors we discussed a couple of days ago. Frndly hasn't corrected things on their end. Got something to do with ad insertion. Go up the thread about 3 days.

I'm aware of that, but are others getting logged out when it happens?

Sorry about that, forgot you were part of that discussion. :no_mouth:

Starnge thing when I made that recording last night.
About 2 minutes after the recording started I went to the Frndly TV website in another browser and watched that channel while Channels DVR was recording it. I didn't see any glitches. In fact the timestamp for the interruption was after an ad break. I don't know if Channels DVR is caching or getting a delayed feed compared to what you see on the Frndly TV website. Guess I could watch live in both Channels and on the website to see. Looks like Channels DVR is 4-5 seconds behind the website.

I don't see what this has to do with ad insertion.
Just watched the Frndly MeTV channel in Channels DVR from 2 minutes before the hour to a couple seconds after. The show I was watching went to commercial break, returned with the ending credits and then when the next show started at the top of the hour it errored out and disconnected.

2022/07/05 09:58:01.958194 [TNR] Opened connection to M3U-frndlyTV for ch9001 MeTV
2022/07/05 09:58:01.959724 [HLS] Starting live stream for channel 9001 from 192.168.1.8 (bitrate=4512)
2022/07/05 09:58:02.293254 [HLS] Probed live stream in 333.216546ms: h264 1280x720 progressive 2606811bps
2022/07/05 09:58:02.305143 [HLS] ffmpeg: ch9001-dANY-ip192.168.1.8-remux:  [hls @ 0x75e3940] Timestamps are unset in a packet for stream 1. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2022/07/05 09:58:02.391242 [HLS] Session ch9001-dANY-ip192.168.1.8 started in 2.025898597s
2022/07/05 10:00:15.832485 [ERR] Error during stream M3U-frndlyTV ch9001 MeTV: Failed to download file: https://sr-live2-frndly.akamaized.net/v1/manifest/segment/...: 404 Not Found
2022/07/05 10:00:15.947142 [TNR] Closed connection to M3U-frndlyTV for ch9001 MeTV
2022/07/05 10:00:16.010670 [HLS] Couldn't generate stream playlist for ch9001-dANY-ip192.168.1.8: Stream stopped
2022/07/05 10:00:16.010796 [HLS] Stopping transcoder session ch9001-dANY-ip192.168.1.8 (out: 2m14.254667s, finished: true)
2022/07/05 10:00:18.513790 [TNR] Opened connection to M3U-frndlyTV for ch9001 MeTV
2022/07/05 10:00:18.515014 [HLS] Starting live stream for channel 9001 from 192.168.1.8 (bitrate=4512)
2022/07/05 10:00:18.854527 [HLS] Probed live stream in 338.959058ms: h264 1280x720 progressive 2380941bps
2022/07/05 10:00:18.865289 [HLS] ffmpeg: ch9001-dANY-ip192.168.1.8-remux:  [hls @ 0x6ad9940] Timestamps are unset in a packet for stream 1. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2022/07/05 10:00:18.921612 [HLS] Session ch9001-dANY-ip192.168.1.8 started in 2.036956205s
2022/07/05 10:00:39.901858 [HLS] Stopping transcoder session ch9001-dANY-ip192.168.1.8 (out: 25.833344s, finished: false)
2022/07/05 10:00:39.903463 [HLS] ffmpeg: ch9001-dANY-ip192.168.1.8-remux:  [mpegts @ 0x6ad2780] Dropped corrupted packet (stream = 1)
2022/07/05 10:00:39.918906 [TNR] Closed connection to M3U-frndlyTV for ch9001 MeTV```

I am getting the same type of logs I did from a couple of days ago. No log outs.
I am Not getting any of those ffmpeg errors in Channels logs like you show. I was on METV for a half hour. So that is something different to note.
I do not know if it matters but I am on the latest frndly docker. (and a keep_alive=10).

Yah, I don't think those matter. That was from watching Live in the DVR web UI, not recording.

Also latest version docker image version and KEEP_ALIVE=0

My point is the disconnection is not happening for me going into, during or coming out of a commercial break. They've all been a few seconds after the top of the hour on MeTV, Decades and H&I.

Not sure if the devs would want a debug recording log, because it sounds like they're convinced it's Frndly TV's ad insertion.

Yup can confirm that top of the hour Connection Lost for METV on Channels ( Apple TV) the last two hours on live. I also had the official authorized Frndly app (iPad) running at the same time . It also stopped and displayed Failed to Load Video at the exact same moment.

I do not think the devs are convinced that this problem has something to do with commercials (another member suggested that). I think that since it is happening on Frndly's own official app that the problem is a Frndly issue and not a Channels issue. If Frndly can't keep their own stuff connected, the Channels people really can't troubleshoot or attempt to correct the issue.

It was driving me nuts until I examined the recordings with my video editor.
It's interrupted during the station identification a few seconds before returning to the program.
I'll be keeping those interrupted recordings!
Capture

1 Like

I notified FRIENDLY that the ad server was down and they mentioned they would be looking to get a solution in place within 48 hours.

1 Like