Asus HDP-R1

From MythTV Official Wiki
Revision as of 07:23, 14 March 2010 by Monkeypet (talk | contribs) (Sample shell script)

Jump to: navigation, search

Asus O!Play HDP-R1 Media Streamer

This a general purpose media streamer from asus. Please see the Asus website for more details. This isn't a mythfrontend yet, but you can serve up your files via cifs (Samba) and watch your recordings on this device. It also works well with the mythtv UPNP server.

Sample smb.conf file using share level security

        workgroup = WORKGROUP
        netbios name = MYTHTV
        server string = Samba Server Version %v
        log file = /var/log/samba/log.%m
        max log size = 50
        security = share

   path = /export/data5/mythtv
   public = yes
   browseable = yes
   only guest = yes
   writable = yes
   printable = no

Creating pretty filenames

  1. Create a dir for sharing
  2. Remount your myth shares under dir above "mount --bind old_mount new_mount".
  3. Run the contrib/ --link script.
  4. If you are using storage groups, you need to tweak around the multiple mountpoint issue. I symlinked all the mpg files to a single dir, then pointed at that base.

Be sure that BOTH smb and nmb are enabled and running. If nmb is not running, your asus box won't discover the share.

NOTE: If you use and enable mythtv's upnp feature, you automatically will get recordings sorted in various ways, so the script below is really obsolete.

Sample shell script

[fa@mythtv bin]$ cat go.symlink.myth


cd /mnt/mythtv_pretty

if [ $USER == "root" ]; then
        umount dir*

        # mount --bind all dirs
        for i in /export/beast/mythtv/store /export/data/mythtv/store /export/data2/mythtv /export/data3/mythtv /export/data4/mythtv /export/data5/mythtv
          mkdir dir$count
          chmod 755 dir$count
          mount --bind -o ro $i dir$count

cd all_dirs
for i in `ls --color=no ../dir*/*mpg`
  if [ ! -e $i ]; then
    ln -s $i

# NOTE: was modified to use relative paths and to create subdirectory for each show
#       name.
/export/storm/mnt_data2/fa/bin/ --link /mnt/mythtv_pretty/by_name/


Asus O!Play