Custom cable provider

Found a temporary workaround for scanning UPC Romania channels.

Hop into /usr/lib/plexmediaserver/Resources/Tuner/Shared/scanners/dvbc/fast_scan/.

Duplicate the ./8007.ini file, edit the content to the following
[SATTYPE]
1=8027
2=DVB-C ROMANIA (UPC, Fast Scan)
3=RO

[DVB]
0=1
1=306000,V,6900,QAM256

The frequency Qam and modulation is taken from here: https://www.upc.ro/pdf/manuale/manual-upc-digitalcard.pdf

After scanning a network id choice menu will apear and from there just make sure to pick the ID corresponding to the location you’re scanning from.

If you’re using plex inside a docker container, watch the application logs if it can open the device.
Sep 16, 2018 17:22:37.772 [0x7efdb67fc700] INFO - [I] v4l::DeviceGetList_impl. getting v4l device list
Sep 16, 2018 17:22:37.772 [0x7efdb67fc700] INFO - [I] v4l::DeviceGetList_impl. Successfully opened frontend /dev/dvb/adapter0/frontend0
Sep 16, 2018 17:22:37.772 [0x7efdb67fc700] INFO - [I] v4l::DeviceGetList_impl. Successfully opened frontend /dev/dvb/adapter1/frontend0

These lines are esentually found here:
tail -f /config/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Tuner\ Service.*

I was getting error id 13 and i had to fiddle around with the permissions inside the container so that plex could actually read /dev/dvb (chown plex:plex /dev/dvb -R)