JTK – Notes and Ramblings Things we have found …

6/20/2015

MythTV mythlink.pl

Filed under: General,MythTV — taing @ 12:38 pm

mythlink.pl replaces the old functionality of mythrename.pl. It is far more useful once setup.

See https://www.mythtv.org/wiki/Mythlink.pl for the details.

For me this meant creating a folder as a peer to /var/lib/mythtv/recordings. My choice was /var/lib/mythtv/show_names. For this to work from Samba it was necessary to add “unix extensions = no” to the [Global] section of /etc/samba/smb.conf and “wide links = yes” to the specific share section. Without this the links will not be properly traversed when you access the share.

I then added two system events:

mythfilldatabase ran: /usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl --link /var/lib/mythtv/show_names

recording started: /usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl --link /var/lib/mythtv/show_names --chanid "%CHANID%" --starttime "%STARTTIMEUTC%"

Notice the %STARTTIMEUTC% as opposed the wiki suggested %STARTTIME%. This solution comes to us from http://www.gossamer-threads.com/lists/mythtv/users/564185.

I decided to attach to the mythfilldatabase event instead of recording deleted or instead of adding to crontab. It will run daily and keep things clean.

6/11/2015

Brother HL-L2380DW

Filed under: General,Router/PC Config — taing @ 2:19 am

Linux Printer:

You will need two packages from the Brother website. The lpr and the CUPS .deb files. Install the lpr package first. After installing both, restart cupsd. The Printers dialog should now show the printer. You may want to confirm the IP settings and print a test page.

Ignore the instructions to edit /etc/printcap.This file is auto generated and it makes no sense to edit it.

The installable .deb packages can be downloaded from http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=hll2380dw_us_as&os=128. As of today the current version 3.2.0-1 dated 2015-02-12.

Linux Scanner:
Instructions

This can be summarized as:

brsaneconfig4 -a name=(name your device) model=HL-L2380DW ip=xx.xx.xx.xx

Once installed the scanner should show up in simple-scan or xsane.

Note the links on the instruction page does not point to the latest driver and the instructions on the download page do not mention network scanning.

The driver and brsaneconfig4 can be downloaded from http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=hll2380dw_us_as&os=128. As of today the current version is 0.4.3-1 dated 2015-05-19.

Powered by WordPress