[mythtv-users] DVD/Blu-Ray set-up

Daryl McDonald darylangela at gmail.com
Thu Jun 6 16:35:50 UTC 2019


On Thu, Jun 6, 2019 at 12:15 PM Stephen Worthington <
stephen_agent at jsw.gen.nz> wrote:

> On Thu, 6 Jun 2019 11:37:47 -0400, you wrote:
>
> >On Fri, May 24, 2019 at 5:00 AM Stephen Worthington <
> >stephen_agent at jsw.gen.nz> wrote:
> >
> >> On Thu, 23 May 2019 06:38:37 -0400, you wrote:
> >>
> >> >On Wed, May 22, 2019, 20:22 Mark Perkins <perkins1724 at hotmail.com>
> wrote:
> >> >
> >> >>
> >> >>
> >> >> On 23 May 2019 3:53:03 am Daryl McDonald <darylangela at gmail.com>
> wrote:
> >> >>
> >> >>>
> >> >>>
> >> >>> On Mon, May 13, 2019 at 1:19 PM John Pilkington <
> johnpilk222 at gmail.com
> >> >
> >> >>> wrote:
> >> >>>
> >> >>>> On 13/05/2019 14:58, Daryl McDonald wrote:
> >> >>>>
> >> >>>> >
> >> >>>> > I installed mythplugins and things seem to be going well, sorry
> for
> >> >>>> the
> >> >>>> > noise, talking/typing it out helped me.
> >> >>>>
> >> >>>> Yes, I suppose before you didn't have MythArchive Settings, for use
> >> when
> >> >>>> *burning* disks...
> >> >>>>
> >> >>>
> >> >>> I burned the videos that I needed for now with Brasero, so it's
> just a
> >> >>> niggle that I still can't burn within Mythtv archive settings. The
> GUI
> >> wont
> >> >>> let me select /dev/sr0 or 1, because they're not directories (I
> think):
> >> >>>  daryl at trieli:~$ ls -al /dev/dvd
> >> >>> lrwxrwxrwx 1 root root 3 May 22 13:36 /dev/dvd -> sr1
> >> >>> daryl at trieli:~$ ls -al /dev/sr*
> >> >>> brw-rw----+ 1 root cdrom 11, 0 May 22 13:36 /dev/sr0
> >> >>> brw-rw----+ 1 root cdrom 11, 1 May 22 13:36 /dev/sr1
> >> >>> daryl at trieli:~$ ls -al /dev/dvb
> >> >>> total 0
> >> >>> drwxr-xr-x  7 root root  140 May 22 13:36 .
> >> >>> drwxr-xr-x 22 root root 5140 May 22 13:58 ..
> >> >>> drwxr-xr-x  2 root root  120 May 22 13:36 adapter0
> >> >>> drwxr-xr-x  2 root root  120 May 22 13:36 adapter1
> >> >>> drwxr-xr-x  2 root root  120 May 22 13:36 adapter2
> >> >>> drwxr-xr-x  2 root root  120 May 22 13:36 adapterHP1250
> >> >>> drwxr-xr-x  2 root root  120 May 22 13:36 adapterPC800i
> >> >>> daryl at trieli:~$
> >> >>> I can select /dev/dvb and now that I changed the original settings I
> >> >>> can't even go back to /dev/dvd. I have two ROM drives, CD/DVD and
> >> >>> CD/DVD/Blu-Ray sr0 and sr1 respectively. How can I set this up
> >> properly? Is
> >> >>> there a way to change the appropriate locations to directories?  TIA
> >> Daryl
> >> >>> _______________________________________________
> >> >>> mythtv-users mailing list
> >> >>> mythtv-users at mythtv.org
> >> >>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> >> >>> http://wiki.mythtv.org/Mailing_List_etiquette
> >> >>> MythTV Forums: https://forum.mythtv.org
> >> >>>
> >> >>> Did you check permissions ie check mythtv user / desktop user /
> correct
> >> >> user is member of cdrom group?
> >> >> __________________________________________
> >> >>
> >> >No. Where can I find it to do so?
> >>
> >> From a command prompt:
> >>
> >> stephen at mypvr:~$ groups
> >> stephen adm cdrom sudo dip video plugdev syslog mythtv sambashare
> >> lpadmin wireshark vboxusers lirc
> >>
> >> So my normal mythfrontend user is a member of the cdrom group.
> >>
> >> stephen at mypvr:~$ sudo -u mythtv groups
> >> [sudo] password for stephen:
> >> mythtv dialout cdrom audio video lirc
> >>
> >> And so is the mythtv user.
> >>
> >> If, for example, the mythtv user is not a member of cdrom, then this
> >> will fix it:
> >>
> >> sudo usermod -a -G cdrom mythtv
> >>
> >daryl at trieli:~$ groups
> >daryl adm cdrom sudo dip plugdev lpadmin sambashare mythtv
> >daryl at trieli:~$ sudo -u mythtv groups
> >[sudo] password for daryl:
> >mythtv dialout cdrom audio video
> >daryl at trieli:~$
> >From your example Stephen, it looks like my groups are fine. The problem
> >persists however. When I attempt to adjust the player settings I can't
> just
> >re-type the path, as I did in .25, now in .29 I must follow a directory
> >progression, and I'm unable to select /dev/sr0. Is this behaviour any
> >different in .30? Is ther another way to adjust my setting?
>
> You are right, there seems to be a bug there.  I just tried it in v30.
> Mine is still set to /dev/sr0, as it has been for many versions of
> MythTV, but when I try to set it to that now using the GUI, it does
> not work.  I can not see any sr0 under the /dev folder, and when I
> type in /dev/sr0 and use the up arrow to go directly to the OK button,
> it reverts to /.  You should probably file a bug report about this.
>
> So you may need to use SQL commands to set it, for now.  In my
> database, there are two settings that use /dev/sr0:
>
> MariaDB [mythconverg]> select * from settings where data like '%sr0%';
> +------------------------+----------+----------+
> | value                  | data     | hostname |
> +------------------------+----------+----------+
> | MythArchiveDVDLocation | /dev/sr0 | mypvr    |
> | DVDDeviceLocation      | /dev/sr0 | mypvr    |
> +------------------------+----------+----------+
> 2 rows in set (0.00 sec)
>
> Your settings will have different hostnames.  They are per frontend
> settings, so there can be different values for each frontend hostname.
> If you want to use SQL, this should work:
>
> Find the settings you want to change and the correct hostname:
>
> sudo mysql
> use mythconverg;
> select * from settings where value='MythArchiveDVDLocation' or
> value='DVDDeviceLocation';
> quit
>
> Then in the following, substitute the hostname you found for <your
> hostname> (twice):
>
> sudo mysql
> use mythconverg;
> update settings set data='/dev/sr0' where
> value='MythArchiveDVDLocation' and hostname='<your hostname>';
> update settings set data='/dev/sr0' where value='DVDDeviceLocation'
> and hostname='<your hostname>';
> # Check that the updates worked.
> select * from settings where data like '/dev/sr%';
> quit
>
I think this went well:
mysql> use mythconverg;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> update settings set data='/dev/sr0' where
    -> value='MythArchiveDVDLocation' and hostname='mythtv';
Query OK, 0 rows affected (0.00 sec)
Rows matched: 1  Changed: 0  Warnings: 0

mysql> update settings set data='/dev/sr0' where value='DVDDeviceLocation'
    -> and hostname='mythtv';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> select * from settings where data like '/dev/sr%';
+------------------------+----------+----------+
| value                  | data     | hostname |
+------------------------+----------+----------+
| MythArchiveDVDLocation | /dev/sr0 | mythtv   |
| DVDDeviceLocation      | /dev/sr0 | mythtv   |
| DVDDeviceLocation      | /dev/sr0 | trieli   |
| BluRayMountpoint       | /dev/sr0 | trieli   |
| CDDevice               | /dev/sr0 | trieli   |
+------------------------+----------+----------+
5 rows in set (0.00 sec)

mysql> quit
Bye
daryl at trieli:/dev$
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20190606/3eb03d43/attachment.html>


More information about the mythtv-users mailing list