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