Mailing List Archive

HDHR - occasional "Added 0 devices" / "Unable to find a free device" when attempting to record a show
Hi folks,

Since having relinquished my MythTV box to the basement and having just
a Fire TV stick connected to the TV, I've noticed that occasionally
shows will fail to record from my 3-tuner HDHomerun Prime device.

Here's an example selection from my mythbackend.log file:

(UpdateRecStatus) Updating status for "Aqua Teen Forever: Plantasm" on
cardid [5] (Pending => Recorder Failed)
(HandleRecordingStatusChange) Tuning recording: "Aqua Teen Forever:
Plantasm": channel 2757 on cardid [5], sourceid 2
(HandleReschedule) Reschedule requested for CHECK -9 1703 0
UpdateRecStatus2 | Aqua Teen Forever: Plantasm | | Everyone's favorite
rascals Frylock, Master Shake, Meatwad and Carl fight the corporate
overlord Amazin, led by tech mogul Neil
and his trusty scientist sidekick, Elmer. | MV018741290000
(InsertProgram)
RecordingInfo::InsertProgram(ProgramInfo(2757_20231125050000.ts):
channame(Cartoon Network HD)#012 startts(Sat Nov 25 05:00:00
2023 GMT) endts(Sat Nov 25 06:45:00 2023 GMT)#012
recstartts(Sat Nov 25
05:00:00 2023 GMT) recendts(Sat Nov 25 06:45:00 2023 GMT)#012
title(Aqua Teen Forever: Plantasm)): recording already exists...
(HandleStateChange) TVRec[5]: Changing from None to RecordingOnly
(TuningFrequency) TVRec[5]: TuningFrequency
(Connect) HDHRSH[5](131F1E8E): Added 0 devices from 131F1E8E
(Connect) HDHRSH[5](131F1E8E): Unable to find a free device
(SetChannelByString) DTVChan[5](131F1E8E): SetChannelByString(757):
Channel object will not open, can not change channels.
(TunerGet) HDHRSH[5](131F1E8E): Get request failed (not connected)
(TunerSet) HDHRSH[5](131F1E8E): Set request failed (not connected)
(TuningFrequency) TVRec[5]: Failed to set channel to 757. Reverting to
kState_None
(HandleStateChange) TVRec[5]: Changing from RecordingOnly to None
(UpdateRecStatus) Updating status for "Aqua Teen Forever: Plantasm" on
cardid [5] (Tuning => Recorder Failed)
(ChangeRecordingEnd) Failed to change end time on card 5 to
2023-11-25T06:45:00Z
(HandleReschedule) Reschedule interrupted, will retry
(HandleReschedule) Reschedule requested for CHECK -9 1703 0
UpdateRecStatus2 | Aqua Teen Forever: Plantasm | | Everyone's favorite
rascals Frylock, Master Shake, Meatwad and Carl fight the corporate
overlord Amazin, led by tech mogul Neil and his trusty scientist
sidekick, Elmer. | MV018741290000
(HandleReschedule) Reschedule requested for PLACE Interrupted
(HandleReschedule) Scheduled 1657 items in 0.2 = 0.00 match + 0.00 check
+ 0.18 place
(GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
'2757_20231125050000.ts' should be local, but it can not be found.
(GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
'2757_20231125050000.ts' should be local, but it can not be found.
(DoMetadataLookupThread) JobQueue: Metadata Lookup Starting for "Aqua
Teen Forever: Plantasm" recorded from channel 2757 at 2023-11-25T05:00:00Z
(GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
'2757_20231125050000.ts' should be local, but it can not be found.
(GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
'2757_20231125050000.ts' should be local, but it can not be found.
(DoFlagCommercialsThread) JobQueue: Commercial Detection Starting for
"Aqua Teen Forever: Plantasm" recorded from channel 2757 at
2023-11-25T05:00:00Z
(GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
'2757_20231125050000.ts' should be local, but it can not be found.
(GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
'2757_20231125050001.ts' should be local, but it can not be found.
(GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
'2757_20231125050001.ts' should be local, but it can not be found.
(DoMetadataLookupThread) JobQueue: Metadata Lookup Starting for "Aqua
Teen Forever: Plantasm" recorded from channel 2757 at 2023-11-25T05:00:01Z
(GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
'2757_20231125050001.ts' should be local, but it can not be found.
(GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
'2757_20231125050001.ts' should be local, but it can not be found.
(DoFlagCommercialsThread) JobQueue: Commercial Detection Starting for
"Aqua Teen Forever: Plantasm" recorded from channel 2757 at
2023-11-25T05:00:01Z
(GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
'2757_20231125050001.ts' should be local, but it can not be found.


The HDHR device is never terribly busy, but I see in the above:
Added 0 devices from 131F1E8E
Unable to find a free device

The result is a 0-byte recording attempt in my recorded files.

I don't recall having this problem in the past, but at the same time I
also used to have a HD-PVR device as well, so perhaps MythTV might
automatically fall back to using that if the HDHR tuners failed? The
other difference is that the MythTV device is now connected via WiFi.
The signal is good strength, so I don't think it's just that the network
connection is poor. Running hdhomerun_config with the "save" option
produces nothing but '.' characters, so not even a packet is dropped.


It's just that it seems that sometimes when a shows is to be recorded,
MythTV fails to find/open a tuner. Is there something interently about
a WiFi-connected MythTV box that might make an HDHR less reliable than
it should be? Are there any other tricks for HDHR tuning reliability?


Thanks
-WD
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: HDHR - occasional "Added 0 devices" / "Unable to find a free device" when attempting to record a show [ In reply to ]
On 11/25/23 18:46, Will Dormann wrote:
> Hi folks,
>
> Since having relinquished my MythTV box to the basement and having
> just a Fire TV stick connected to the TV, I've noticed that
> occasionally shows will fail to record from my 3-tuner HDHomerun Prime
> device.
>
> Here's an example selection from my mythbackend.log file:
>
> (UpdateRecStatus) Updating status for "Aqua Teen Forever: Plantasm" on
> cardid [5] (Pending => Recorder Failed)
> (HandleRecordingStatusChange) Tuning recording: "Aqua Teen Forever:
> Plantasm": channel 2757 on cardid [5], sourceid 2
> (HandleReschedule) Reschedule requested for CHECK -9 1703 0
> UpdateRecStatus2 | Aqua Teen Forever: Plantasm |  | Everyone's
> favorite rascals Frylock, Master Shake, Meatwad and Carl fight the
> corporate overlord Amazin, led by tech mogul Neil
>  and his trusty scientist sidekick, Elmer. | MV018741290000
> (InsertProgram)
> RecordingInfo::InsertProgram(ProgramInfo(2757_20231125050000.ts):
> channame(Cartoon Network HD)#012             startts(Sat Nov 25
> 05:00:00 2023 GMT) endts(Sat Nov 25 06:45:00 2023 GMT)#012
> recstartts(Sat Nov 25
> 05:00:00 2023 GMT) recendts(Sat Nov 25 06:45:00 2023 GMT)#012
>  title(Aqua Teen Forever: Plantasm)): recording already exists...
> (HandleStateChange) TVRec[5]: Changing from None to RecordingOnly
> (TuningFrequency) TVRec[5]: TuningFrequency
> (Connect) HDHRSH[5](131F1E8E): Added 0 devices from 131F1E8E
> (Connect) HDHRSH[5](131F1E8E): Unable to find a free device
> (SetChannelByString) DTVChan[5](131F1E8E): SetChannelByString(757):
> Channel object will not open, can not change channels.
> (TunerGet) HDHRSH[5](131F1E8E): Get request failed (not connected)
> (TunerSet) HDHRSH[5](131F1E8E): Set request failed (not connected)
> (TuningFrequency) TVRec[5]: Failed to set channel to 757. Reverting to
> kState_None
> (HandleStateChange) TVRec[5]: Changing from RecordingOnly to None
> (UpdateRecStatus) Updating status for "Aqua Teen Forever: Plantasm" on
> cardid [5] (Tuning => Recorder Failed)
> (ChangeRecordingEnd) Failed to change end time on card 5 to
> 2023-11-25T06:45:00Z
> (HandleReschedule) Reschedule interrupted, will retry
> (HandleReschedule) Reschedule requested for CHECK -9 1703 0
> UpdateRecStatus2 | Aqua Teen Forever: Plantasm |  | Everyone's
> favorite rascals Frylock, Master Shake, Meatwad and Carl fight the
> corporate overlord Amazin, led by tech mogul Neil and his trusty
> scientist sidekick, Elmer. | MV018741290000
> (HandleReschedule) Reschedule requested for PLACE Interrupted
> (HandleReschedule) Scheduled 1657 items in 0.2 = 0.00 match + 0.00
> check + 0.18 place
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (DoMetadataLookupThread) JobQueue: Metadata Lookup Starting for "Aqua
> Teen Forever: Plantasm" recorded from channel 2757 at
> 2023-11-25T05:00:00Z
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (DoFlagCommercialsThread) JobQueue: Commercial Detection Starting for
> "Aqua Teen Forever: Plantasm" recorded from channel 2757 at
> 2023-11-25T05:00:00Z
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
> (DoMetadataLookupThread) JobQueue: Metadata Lookup Starting for "Aqua
> Teen Forever: Plantasm" recorded from channel 2757 at
> 2023-11-25T05:00:01Z
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
> (DoFlagCommercialsThread) JobQueue: Commercial Detection Starting for
> "Aqua Teen Forever: Plantasm" recorded from channel 2757 at
> 2023-11-25T05:00:01Z
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
>
>
> The HDHR device is never terribly busy, but I see in the above:
>  Added 0 devices from 131F1E8E
>  Unable to find a free device
>
> The result is a 0-byte recording attempt in my recorded files.
>
> I don't recall having this problem in the past, but at the same time I
> also used to have a HD-PVR device as well, so perhaps MythTV might
> automatically fall back to using that if the HDHR tuners failed?  The
> other difference is that the MythTV device is now connected via WiFi.
> The signal is good strength, so I don't think it's just that the
> network connection is poor.  Running hdhomerun_config with the "save"
> option produces nothing but '.' characters, so not even a packet is
> dropped.
>
>
> It's just that it seems that sometimes when a shows is to be recorded,
> MythTV fails to find/open a tuner.  Is there something interently
> about a WiFi-connected MythTV box that might make an HDHR less
> reliable than it should be?  Are there any other tricks for HDHR
> tuning reliability?
>
>
> Thanks
> -WD
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

 I haven't used mine in a few years,but I think I would try a new Power
supply as they are prone to failure. The capacitors swell up and they go
out of tolerance.


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: HDHR - occasional "Added 0 devices" / "Unable to find a free device" when attempting to record a show [ In reply to ]
Hoi Will,

Sunday, November 26, 2023, 12:46:57 AM, you wrote:

> Hi folks,

> Since having relinquished my MythTV box to the basement and having just
> a Fire TV stick connected to the TV, I've noticed that occasionally
> shows will fail to record from my 3-tuner HDHomerun Prime device.

> Here's an example selection from my mythbackend.log file:

> (UpdateRecStatus) Updating status for "Aqua Teen Forever: Plantasm" on
> cardid [5] (Pending => Recorder Failed)
> (HandleRecordingStatusChange) Tuning recording: "Aqua Teen Forever:
> Plantasm": channel 2757 on cardid [5], sourceid 2
> (HandleReschedule) Reschedule requested for CHECK -9 1703 0
> UpdateRecStatus2 | Aqua Teen Forever: Plantasm | | Everyone's favorite
> rascals Frylock, Master Shake, Meatwad and Carl fight the corporate
> overlord Amazin, led by tech mogul Neil
> and his trusty scientist sidekick, Elmer. | MV018741290000
> (InsertProgram)
> RecordingInfo::InsertProgram(ProgramInfo(2757_20231125050000.ts):
> channame(Cartoon Network HD)#012 startts(Sat Nov 25 05:00:00
> 2023 GMT) endts(Sat Nov 25 06:45:00 2023 GMT)#012
> recstartts(Sat Nov 25
> 05:00:00 2023 GMT) recendts(Sat Nov 25 06:45:00 2023 GMT)#012
> title(Aqua Teen Forever: Plantasm)): recording already exists...
> (HandleStateChange) TVRec[5]: Changing from None to RecordingOnly
> (TuningFrequency) TVRec[5]: TuningFrequency
> (Connect) HDHRSH[5](131F1E8E): Added 0 devices from 131F1E8E
> (Connect) HDHRSH[5](131F1E8E): Unable to find a free device
> (SetChannelByString) DTVChan[5](131F1E8E): SetChannelByString(757):
> Channel object will not open, can not change channels.
> (TunerGet) HDHRSH[5](131F1E8E): Get request failed (not connected)
> (TunerSet) HDHRSH[5](131F1E8E): Set request failed (not connected)
> (TuningFrequency) TVRec[5]: Failed to set channel to 757. Reverting to
> kState_None
> (HandleStateChange) TVRec[5]: Changing from RecordingOnly to None
> (UpdateRecStatus) Updating status for "Aqua Teen Forever: Plantasm" on
> cardid [5] (Tuning => Recorder Failed)
> (ChangeRecordingEnd) Failed to change end time on card 5 to
> 2023-11-25T06:45:00Z
> (HandleReschedule) Reschedule interrupted, will retry
> (HandleReschedule) Reschedule requested for CHECK -9 1703 0
> UpdateRecStatus2 | Aqua Teen Forever: Plantasm | | Everyone's favorite
> rascals Frylock, Master Shake, Meatwad and Carl fight the corporate
> overlord Amazin, led by tech mogul Neil and his trusty scientist
> sidekick, Elmer. | MV018741290000
> (HandleReschedule) Reschedule requested for PLACE Interrupted
> (HandleReschedule) Scheduled 1657 items in 0.2 = 0.00 match + 0.00 check
> + 0.18 place
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (DoMetadataLookupThread) JobQueue: Metadata Lookup Starting for "Aqua
> Teen Forever: Plantasm" recorded from channel 2757 at 2023-11-25T05:00:00Z
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (DoFlagCommercialsThread) JobQueue: Commercial Detection Starting for
> "Aqua Teen Forever: Plantasm" recorded from channel 2757 at
> 2023-11-25T05:00:00Z
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
> (DoMetadataLookupThread) JobQueue: Metadata Lookup Starting for "Aqua
> Teen Forever: Plantasm" recorded from channel 2757 at 2023-11-25T05:00:01Z
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
> (DoFlagCommercialsThread) JobQueue: Commercial Detection Starting for
> "Aqua Teen Forever: Plantasm" recorded from channel 2757 at
> 2023-11-25T05:00:01Z
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.


> The HDHR device is never terribly busy, but I see in the above:
> Added 0 devices from 131F1E8E
> Unable to find a free device

> The result is a 0-byte recording attempt in my recorded files.

> I don't recall having this problem in the past, but at the same time I
> also used to have a HD-PVR device as well, so perhaps MythTV might
> automatically fall back to using that if the HDHR tuners failed? The
> other difference is that the MythTV device is now connected via WiFi.
> The signal is good strength, so I don't think it's just that the network
> connection is poor. Running hdhomerun_config with the "save" option
> produces nothing but '.' characters, so not even a packet is dropped.


> It's just that it seems that sometimes when a shows is to be recorded,
> MythTV fails to find/open a tuner. Is there something interently about
> a WiFi-connected MythTV box that might make an HDHR less reliable than
> it should be? Are there any other tricks for HDHR tuning reliability?


> Thanks
> -WD

Am I correctly understanding that you are recording over wifi? With
the backend and/or the hdhr connected by wifi?

Try connecting the hdhr by cable strait to the backend!


Tot mails,
Hika mailto:hikavdh@gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: HDHR - occasional "Added 0 devices" / "Unable to find a free device" when attempting to record a show [ In reply to ]
On Sun, 26 Nov 2023 at 00:47, Will Dormann <wdormann@gmail.com> wrote:

> Hi folks,
>
> Since having relinquished my MythTV box to the basement and having just
> a Fire TV stick connected to the TV, I've noticed that occasionally
> shows will fail to record from my 3-tuner HDHomerun Prime device.
>
> Here's an example selection from my mythbackend.log file:
>
> (UpdateRecStatus) Updating status for "Aqua Teen Forever: Plantasm" on
> cardid [5] (Pending => Recorder Failed)
> (HandleRecordingStatusChange) Tuning recording: "Aqua Teen Forever:
> Plantasm": channel 2757 on cardid [5], sourceid 2
> (HandleReschedule) Reschedule requested for CHECK -9 1703 0
> UpdateRecStatus2 | Aqua Teen Forever: Plantasm | | Everyone's favorite
> rascals Frylock, Master Shake, Meatwad and Carl fight the corporate
> overlord Amazin, led by tech mogul Neil
> and his trusty scientist sidekick, Elmer. | MV018741290000
> (InsertProgram)
> RecordingInfo::InsertProgram(ProgramInfo(2757_20231125050000.ts):
> channame(Cartoon Network HD)#012 startts(Sat Nov 25 05:00:00
> 2023 GMT) endts(Sat Nov 25 06:45:00 2023 GMT)#012
> recstartts(Sat Nov 25
> 05:00:00 2023 GMT) recendts(Sat Nov 25 06:45:00 2023 GMT)#012
> title(Aqua Teen Forever: Plantasm)): recording already exists...
> (HandleStateChange) TVRec[5]: Changing from None to RecordingOnly
> (TuningFrequency) TVRec[5]: TuningFrequency
> (Connect) HDHRSH[5](131F1E8E): Added 0 devices from 131F1E8E
> (Connect) HDHRSH[5](131F1E8E): Unable to find a free device
> (SetChannelByString) DTVChan[5](131F1E8E): SetChannelByString(757):
> Channel object will not open, can not change channels.
> (TunerGet) HDHRSH[5](131F1E8E): Get request failed (not connected)
> (TunerSet) HDHRSH[5](131F1E8E): Set request failed (not connected)
> (TuningFrequency) TVRec[5]: Failed to set channel to 757. Reverting to
> kState_None
> (HandleStateChange) TVRec[5]: Changing from RecordingOnly to None
> (UpdateRecStatus) Updating status for "Aqua Teen Forever: Plantasm" on
> cardid [5] (Tuning => Recorder Failed)
> (ChangeRecordingEnd) Failed to change end time on card 5 to
> 2023-11-25T06:45:00Z
> (HandleReschedule) Reschedule interrupted, will retry
> (HandleReschedule) Reschedule requested for CHECK -9 1703 0
> UpdateRecStatus2 | Aqua Teen Forever: Plantasm | | Everyone's favorite
> rascals Frylock, Master Shake, Meatwad and Carl fight the corporate
> overlord Amazin, led by tech mogul Neil and his trusty scientist
> sidekick, Elmer. | MV018741290000
> (HandleReschedule) Reschedule requested for PLACE Interrupted
> (HandleReschedule) Scheduled 1657 items in 0.2 = 0.00 match + 0.00 check
> + 0.18 place
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (DoMetadataLookupThread) JobQueue: Metadata Lookup Starting for "Aqua
> Teen Forever: Plantasm" recorded from channel 2757 at 2023-11-25T05:00:00Z
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (DoFlagCommercialsThread) JobQueue: Commercial Detection Starting for
> "Aqua Teen Forever: Plantasm" recorded from channel 2757 at
> 2023-11-25T05:00:00Z
> (GetPlaybackURL) ProgramInfo(2757_20231125050000.ts): GetPlaybackURL:
> '2757_20231125050000.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
> (DoMetadataLookupThread) JobQueue: Metadata Lookup Starting for "Aqua
> Teen Forever: Plantasm" recorded from channel 2757 at 2023-11-25T05:00:01Z
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
> (DoFlagCommercialsThread) JobQueue: Commercial Detection Starting for
> "Aqua Teen Forever: Plantasm" recorded from channel 2757 at
> 2023-11-25T05:00:01Z
> (GetPlaybackURL) ProgramInfo(2757_20231125050001.ts): GetPlaybackURL:
> '2757_20231125050001.ts' should be local, but it can not be found.
>
>
> The HDHR device is never terribly busy, but I see in the above:
> Added 0 devices from 131F1E8E
> Unable to find a free device
>
> The result is a 0-byte recording attempt in my recorded files.
>
> I don't recall having this problem in the past, but at the same time I
> also used to have a HD-PVR device as well, so perhaps MythTV might
> automatically fall back to using that if the HDHR tuners failed? The
> other difference is that the MythTV device is now connected via WiFi.
> The signal is good strength, so I don't think it's just that the network
> connection is poor. Running hdhomerun_config with the "save" option
> produces nothing but '.' characters, so not even a packet is dropped.
>
>
> It's just that it seems that sometimes when a shows is to be recorded,
> MythTV fails to find/open a tuner. Is there something interently about
> a WiFi-connected MythTV box that might make an HDHR less reliable than
> it should be? Are there any other tricks for HDHR tuning reliability?
>
> What happens is that the mythbackend thinks that there is a connection to
the HDHR but the HDHR has dropped the connection.

The "Added 0 devices from" message can be reproduced as follows.
I have a mythbackend running on my laptop, connected via Wifi to a
HDHomeRun on the wired network.
It is running EIT on the HDHomeRun to get the guide data.
Closing the lid of the laptop does suspend everything on the laptop
including the mythbackend.
The HDHomeRun now drops the connection after a while.
Opening the lid of the laptop does a resume of everything on the laptop,
including the mythbackend.
Mythbackend thinks that it still has a connection to the HDHomeRun and when
it tries to tune the next EIT channel
the "Added 0 devices from" message is given. After that, tuning the next
channel does succeed.

This suggests that In your case, it can be that the system that runs
mythbackend does a suspend/resume.

Whether you can successfully run a mythbackend with network tuners over
Wifi does depend very much on
the quality of your Wifi network. It works for me when I am near an access
point but I think that a bad
network can also cause the HDHR to drop the connection. As mentioned by
Hika, using a wired connection is preferred.
If it is not possible to make a wired connection then you can consider
adding an access point as close as possible.

It is likely possible to change the HDHomeRun driver in mythbackend so that
it does one or more retries when a connection
unexpectedly fails. This is a non-trivial undertaking and do not hold your
breath waiting for this to happen.

MythTV uses a HDHomeRun library and that iibrary uses UDP to connect to the
HDHomeRun.
This works perfectly with a perfect network but intrinsically less good
with a not-perfect network.
You can try to increase the size of the network buffers with the following
command:
sudo sysctl -w net.core.rmem_max=8000000
as described in the Wiki for SatIP network tuners in paragraph
https://www.mythtv.org/wiki/Channel_Scanning#Scanning_with_Sat.3EIP_tuners

You might want to experiment with accessing the HDHomeRun as an IPTV
device. This uses HTTP/TCP and maybe this
works better for you. There are pros and cons to this approach.
See the description in the Wiki in paragraph
https://www.mythtv.org/wiki/Channel_Scanning#HDHomeRun_Channel_Import_2

Hope this helps,
Klaas.
Re: HDHR - occasional "Added 0 devices" / "Unable to find a free device" when attempting to record a show [ In reply to ]
On 11/25/23 6:46 PM, Will Dormann wrote:
> The HDHR device is never terribly busy, but I see in the above:
>  Added 0 devices from 131F1E8E
>  Unable to find a free device


So just to follow up for the benefit of anybody who may be playing along:

I recently attempted to ping my HDHR device from my MythTV box, and sure
enough I was (un)lucky enough to catch it at a point where the device
was not answering ping responses! At which point, this is clearly
beyond the scope of being a problem in anything MythTV related.

To eliminate variables, I tried swapping out the Ethernet cable and also
the power supply to my HDHR box. In a 90-minute ping session to the
device, over 12% of packets are lost. Similarly a 90-minute ping
session to another device (a NAS) connected to the same network device
(the Verizon Wifi box, which has a few Ethernet ports) resulted in 0
packet loss.

The HDHR device was connected to a port on the Verizon AP that is
labeled as 10GbE LAN. Just on a whim, I switched the NAS and the HDHR
so that the HDHR is on a regular (non-10GbE port) and the NAS device now
occupied the 10GbE port. I also switched back to my original ethernet
cable and PSU for the HDHR. The result? Both the NAS and the HDHR have
gone through a 90-minute ping session with zero dropped packets each.

I probably won't know for close to a week, but I'll predict that my
"randomly" missing HDHR recordings problem might be gone with this change.


The lessons here are:
- Any system with more than one variable will get increasingly more
complicated to troubleshoot with the addition of any new variables.
- Don't kid yourself by thinking you have any idea of how computers
work. :)



-WD

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: HDHR - occasional "Added 0 devices" / "Unable to find a free device" when attempting to record a show [ In reply to ]
Hoi Will,

Wednesday, November 29, 2023, 8:40:30 PM, you wrote:

> On 11/25/23 6:46 PM, Will Dormann wrote:
>> The HDHR device is never terribly busy, but I see in the above:
>>  Added 0 devices from 131F1E8E
>>  Unable to find a free device


> So just to follow up for the benefit of anybody who may be playing along:

> I recently attempted to ping my HDHR device from my MythTV box, and sure
> enough I was (un)lucky enough to catch it at a point where the device
> was not answering ping responses! At which point, this is clearly
> beyond the scope of being a problem in anything MythTV related.

> To eliminate variables, I tried swapping out the Ethernet cable and also
> the power supply to my HDHR box. In a 90-minute ping session to the
> device, over 12% of packets are lost. Similarly a 90-minute ping
> session to another device (a NAS) connected to the same network device
> (the Verizon Wifi box, which has a few Ethernet ports) resulted in 0
> packet loss.

> The HDHR device was connected to a port on the Verizon AP that is
> labeled as 10GbE LAN. Just on a whim, I switched the NAS and the HDHR
> so that the HDHR is on a regular (non-10GbE port) and the NAS device now
> occupied the 10GbE port. I also switched back to my original ethernet
> cable and PSU for the HDHR. The result? Both the NAS and the HDHR have
> gone through a 90-minute ping session with zero dropped packets each.

> I probably won't know for close to a week, but I'll predict that my
> "randomly" missing HDHR recordings problem might be gone with this change.


> The lessons here are:
> - Any system with more than one variable will get increasingly more
> complicated to troubleshoot with the addition of any new variables.
> - Don't kid yourself by thinking you have any idea of how computers
> work. :)



> -WD

I have noticed before that ethernet (and other) cables that do
properly connect to one connector do not automatically do so to
another, especially if the cable is self made. Also here there are
multiple variables.
- how deep are the connector plates in the male connector pushed in.
- how springy are the connector wires in the female connector.
- form variation in both male and female connector.
- random dust.
- small unnoticeable damage (wear and tear).
- starting corrosion.

And probably more.

In my experience disconnecting and reconnecting and/or swapping around
9 out of 10 times solves connection problems. Even problematic memory
modules and pci(e) cards often work again for years after
disconnecting, cleaning and reconnecting.

With digital connections even slightly raised electrical resistance
can mean some 1 states are missed. Like the noise you hear with older
analog audio cables and connectors, where turning around the plug in
the jack can reduce or increase that noise.


Tot mails,
Hika mailto:hikavdh@gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org