Difference between revisions of "Asus HDP-R1"

From MythTV Official Wiki
Jump to: navigation, search
(Sample shell script)
(Asus O!Play HDP-R1 Media Streamer)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
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.
 
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.
 +
 +
I have been using this box for awhile and been very satisfied with it.  I like the fact that it does 1080HD, small form factor, quiet, and relatively inexpensive.  My use cases is to use to watch mythtv recordings over CIFS or UPNP.  You can jump and speed up the playback. Also use it to watch various formats.  It supports most of the popular video codecs.  The newest firmware also adds the ability to access online content like flickr, picasaweb, and "internet tv".  The things I don't like about it includes no way to commercial skip, no subtitles with the mythtv recordings.
  
 
== Sample smb.conf file using share level security ==
 
== Sample smb.conf file using share level security ==

Latest revision as of 19:18, 1 January 2013

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.

I have been using this box for awhile and been very satisfied with it. I like the fact that it does 1080HD, small form factor, quiet, and relatively inexpensive. My use cases is to use to watch mythtv recordings over CIFS or UPNP. You can jump and speed up the playback. Also use it to watch various formats. It supports most of the popular video codecs. The newest firmware also adds the ability to access online content like flickr, picasaweb, and "internet tv". The things I don't like about it includes no way to commercial skip, no subtitles with the mythtv recordings.

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.

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

#!/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/

Links

Asus O!Play