Asus HDP-R1

From MythTV Official Wiki
Revision as of 03:48, 7 March 2010 by Wagnerrp (talk | contribs) (add categories)

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.

Sample smb.conf file using share level security

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

[mythtv]
   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/mythrename.pl --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 mythrename.pl 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.

Sample shell script

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

#!/bin/bash

cd /mnt/mythtv_pretty

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

        # 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
        do
          mkdir dir$count
          chmod 755 dir$count
          mount --bind -o ro $i dir$count
          ((count++))
        done
fi

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

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