Tuner added but not listed

Server Version#: 1.24.5.5173
Player Version#: 1.35.1.2632-c6783c78
Tuner Make/Model: HDHomeRun

A while back I tried installing HDHomeRun tuner into the Plex DVR. It failed multiple times, and now the tuner does not appear in the list of Channel Sources. Going to Tuner Setup to add a tuner, it is not listed. Adding a manual IP address (which is confirmed to work on the network and is reachable by PC) has no response.

BUT Following an earlier thread’s advice, going to https://IP.Address:32400/media/grabbers/devices?X-Plex-Token=****

<MediaContainer size="2">
<Device parentID="11" key="1" uuid="device://tv.plex.grabbers.hdhomerun/1323DD0E" uri="http://10.0.1.13:80" protocol="livetv" status="alive" state="enabled" lastSeenAt="1636342749" canTranscode="0" deviceAuth="u2L8ZNJxP3VeGwdHS2-sRRJS" deviceId="1323DD0E" make="Silicondust" model="HDHomeRun PRIME" modelNumber="HDHR3-CC" source="1" sources="1" thumb="/:/resources/dvr/device-hdhomerun-prime-560.png" tuners="3">
<Setting id="transcodeDuringRecord" label="Convert video while recording" summary="[Experimental] This can save disk space and improve compatibility. Converting requires a fast CPU." type="int" default="0" value="0" hidden="0" advanced="0" group="" enumValues="0:Off|2:Transcode"/>
</Device>

It would appear the DVR is in a strange limbo state where it is added but not accessible. Removing tv.plex.* files followed by restarting the server app does not fix the problem. Is there a way to manually remove it from the database without a full erase and restore? Previously reinstalling Plex Media Server but keeping all the data in place did not help in earlier versions.

They don’t have a complete write up on this but you need to delete the row from media_provider_resources table in the main db.

I don’t have Synology so can only give vague directions, on a stopped PMS

ssh to the db directory and backup the com.plexapp.plugins.library.db

SQLITE edit the database.

"/var/packages/PlexMediaServer/target/Plex SQLite" com.plexapp.plugins.library.db

"SELECT * FROM media_provider_resources"
"DELETE FROM media_provider_resources WHERE id = <id>" .

Thank you! This fixed the problem.

For those of you who searched for the same problem I have, it’s somewhat complex. Go to Package Manager and select Synology and then in the dropdown menu Stop the service from running. Then go into Synology control panel and enable SSH, then connect into your machine. Then navigate to the Plex directory with the com.plexapp.plugins.library.db file (usually in /Plex Media Server/Plug-in\ Support/Databases/ ) and then back up the file and then run the first command

"/var/packages/PlexMediaServer/target/Plex SQLite" com.plexapp.plugins.library.db

(note that depending on which version of DSM you’re running it may have spaces or it may not)

This will open the SQLite editor. Type this in:

SELECT * FROM media_provider_resources; and press return.

You will get a listing of rows. Find the row containing your tuner (the IP address is listed in it), and the first number is the id number of the row. Then you will type:

DELETE FROM media_provider_resources WHERE id = <id>;

and substitute for the actual number without brackets. Then press control-D to exit the editor.

Restart the package and then open your Plex client. Go to the Live TV & DVR settings and try to add the tuner again. It should work this time.

1 Like

This is helpful as I am experiencing the same issue. Following these steps, I was able to successfully delete the row from the plex DB, however after a restart, the record immediately returned. I notice that the “created_at” date is the same as it was before indicating to me that the tuner is still found somewhere else and is being readded at start up.

Are there any additional config files that I should be looking for to get the tuner completely deleted so that I can re-add it?

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