WDTV Tools

January 25, 2010

YouTube Services Taken Down

Filed under: youtube — Tags: , , , , — Elmar Weber @ 12:22

The YouTube application hasn’t been working for a longer time now, I’ve finally had the time to take down the related proxy scripts and application images. Since the WDTV Live is out now there is not much sense in the application itself, mainly because it is too much work to integrate something like YouTube (escpecially search) in an consistent and manageable way into the WDTV UI.

The sources, even the proxy scripts, are still in the SVN repository, so anyone who really wants YouTube support for the old WDTV can take his way from there. Or just get a WDTV Live for a hundred bucks and be done with it in an easier way.

August 24, 2009

YouTube Support – Preview Release

Filed under: youtube — Tags: , , , , , — Elmar Weber @ 15:06

NOTE: YouTube support has been discontinued, see the corresponding article for details.


NOTE: this is a preview release, it might not work everywhere with all configurations because just minimal testing was done

NOTE: don’t use this when you have the media library enabled, your WDTV will scan forever because it searches for every keyword

It took longer than expected, but here is finally a preview release for the YouTube support for the WDTV. It has not all features I wanted for the first release and a few bugs probably remain. Here is the rundown of features:

  • supports search for videos
  • supports the Most Viewed and Top Rated videos of today, this week, this month and all time
  • supports Recently Featured videos
  • supports top rated videos in categories
  • plays back the highest available resolution, for most this is 640×480 pixels, but for newer videos this is 720p HDTV
  • use keyboard screen to enter search characters

Hints for the search: “>” means execute search and “_” is the space character.

Known issues:

  • some queries might not work because of special characters in the result’s movie titles

Search will be a little slow in the beginning because the cache on the proxy server needs to fill up first and there is also extensive logging going on to track performance issues. Expect do wait about 10 seconds for a directory listing and about 10-15 seconds before the video starts.

The release is available at http://sourceforge.net/projects/wdtvtools/files/wdtube/youtube-r249-wdtv.zip/download. As usual just extract all files to your USB stick.

July 31, 2009

YouTube Support – Directory Structure

Filed under: youtube — Tags: , , , , , — Elmar Weber @ 03:34

After posting the YouTube Support Teaser the hits on this site tripled over night. So there seems to be a lot of interest. To get you included I would like to post the browsing structure of the YouTube browser for discusson. Currently I have something like this in mind:

  • YouTube
    • Search
      • some keyword
    • Recently Featured
      • Today / This Week / This Month / All Time
    • Top Rated
      • Today / This Week / This Month / All Time
    • Most Viewed
      • Today / This Week / This Month / All Time
    • Categories
      • Film & Animation
      • Music
      • Science & Technology
    • ?

I’m not sure how to structure the category view because there are endless possibilities, e.g. you could search a category or view the recently featured or top rated videos for this week or just today.

If you miss something or have other suggestions just leave a comment here or over at the YouTube Teaser WDTV Forum thread.

July 27, 2009

YouTube Support – Teaser

Filed under: applications, youtube — Tags: , , , , , — Elmar Weber @ 04:05

As already mentioned on some occasions I’ve been working by the way on YouTube support for the WDTV. After some initial issues with the YouTube API the data retrieval works now without problems and basic streaming works too. There are just some performance problems to be worked out because it takes about 20 seconds until the playback starts. Basic UI integration is also on the way, so you get a nice keyboard to search with instead of a folder view. Support for favorite channels and tags will be added as well before the first release. There are also some kinks when browsing with thumbnails. Below are two screenshots of the search frame and a resulting file listing.

June 5, 2009

wiidtv – Using the Wiimote With the WDTV

Filed under: osd, wiidtv — Tags: , , , , , , , — Elmar Weber @ 01:42

Just a quick hacked demo of the Wiimote controlling the Western Digital TV HD. The more the Wiimote is rolled the faster it scrolls. But it’s currently not really usable because of the rather poor performance of the WDTV GUI when the scrolling gets faster.

If you want to try this here is a quick howto (you should know how to handle yourself with telnet or SSH on the WDTV):

  1. You need
    • eiri application image
    • optware (opt.bin)
    • USB bluetooth adapter that is supported by Linux (if you have one it probably is)
  2. You need to install some packages on your WDTV for bluetooth support – and because some people reported problems with the busybox tar you should also install the GNU tar:

    # ipkg install bluez-utils tar
  3. Download the bluetooth kernel modules and install them (you need to be in a directory that is writeable, so when using WDLXTV you should a directory in /opt/):

    # wget http://wdtv.elmarweber.org/temp/bt.tar.gz
    # tar xvfz bt.tar.gz
    # sh insert.sh

    If everything works you should get no messages, if you get a notice that firmware_class is already loaded that’s OK, but no other message should appear.
  4. Next must setup your bluetooth adapter. If not already done, first connect it to the WDTV. Now you should see it with # hciconfig -a if no device called hci0 is listed there was a problem with the bluetooth adapter. Take a look at dmesg | tail do get possible error message.

    Next you can bring the bluetooth adapter into play with # hciconfig hci0 up. To check if everything works you can do a quick # hcitool scan to show any bluetooth devices in your vicinity. Even if you don’t have any active bluetooth devices you can assume that everything works when you don’t get any error messages.

  5. The last step before using the Wiimote with your WDTV you need the wiidtv application and install it.

    # wget http://wdtv.elmarweber.org/temp/wiidtv.tar.gz
    # tar xvfz wiidtv.tar.gz
  6. Now you can put it all together by starting the wiidtv application and connecting your Wiimote. Start wiidtv with

    # sh wiidtv.sh

    and then you must set your Wiimote into discovery mode by pressing the 1 and 2 buttons at the same time. The wiidtv program will connect with the first Wiimote it finds and use it. You have 10 seconds to do this, if there is no Wiimote found until then the program exits, so have your Wiimote ready and near your WDTV. In case your Wiimote was detected you’ll feel a short vibration from it, this is the signal that wiidtv is connected to it.

    Control is very limited, you can scroll up/down by tilting / rolling the device (simulates up down remote command, if you have thumbnails enabled you’ll be out of luck). With the B button you can enter a directory or play a file and with A you return to the previous view. Finally, you can disconnect the Wiimote by pressing the Power button for a few seconds.

I’ll release an application image ASAP. As usual the sources are in the SVN if anyone wants to give it a hack.

Powered by WordPress