WDTV Tools

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.

July 25, 2009

Update On Available Modifications for the WDTV

Filed under: applications, osd — Tags: , , , , , — Elmar Weber @ 21:26

It’s been a month since the last update on new and existing modifications.

The existing ones have been upgraded and improved, take a look at LaurentG’s mod and juliojs’s work (or his blog (spanish)).
Regarding the non OSD mods, ninja76’s torrent downloader has also lift off and makes progress. realtebo’s IRC download client is also there but hasn’t had any updates lately.

Regarding new developments there is a thumbnail cache from BMD_Online that speeds up when you are using the thumbnail view to browse your media.

Probably the most exciting latest development is pibos WDTVExt project. He has actually managed to tap into the WDTV GUI to modify the main menu and enable new plug-ins. There are already some examples like a weather plug-in.

There is also a very good new OSD Mod from lilibabe, very slick design:

There is ton more but most are basic extensions for WDLXTV or very specific applications. A more or less complete list is managed in the forums at http://wdtvforum.com/main/index.php?topic=1217.0.

June 14, 2009

event-osd r162 Released

Filed under: event-osd, osd — Tags: , , , , , — Elmar Weber @ 16:41

A new version of event-osd has been released. event-osd allows you to modify the OSD of the Western Digital TV HD on the fly when the user navigates through his media collection.

The r162 version introduces an extended event config file format that supports multiple events and also adds support for new features. The most important feature is the ability to change the working directory of the script to the current directory of the OSD. This solves as a workaround for paths with special characters because the shell of the WDTV firmwares is not able to deal with them directly. You can specify that the current working directory (cwd) is changed by using a config file like the following one:


version=2


[event0]
type=directory_change
pattern=/
script=/my/script.sh
cwd=true
media_type=video

More changes in detail are:

  • added: option to execute script in the newly changed directory. This is a workaround to eliminate problems with special characters in the current path. See documentation for details. Thanks to LaurentG for suggesting this.
  • added: option to specify several events in one file, see documentation for details
  • added: support for future extensions in the event file format
  • fixed: OSD working copy was not cleaned on restart

The new application image is available for download at http://sourceforge.net/project/downloading.php?group_id=261153&filename=event-osd-r162-wdtv.zip.

All event-osd files can be found at http://sourceforge.net/project/showfiles.php?group_id=261153&package_id=324606. The documentation is in the event-osd wiki at http://sourceforge.net/apps/trac/wdtvtools/wiki/event-osd.

event-osd is part of the WDTV Tools project. For more tools and information take a look at the WDTV Tools homepage: http://wdtv.elmarweber.org.

June 11, 2009

Some OSD Mods

Filed under: applications, event-osd, osd — Tags: , , , , , — Elmar Weber @ 04:36

Take a look over at the WDTV Forum, there is some serious development going on. LaurentG and juliojs use event-osd to skin your folders according to your own templates and data. Thanks to LaurentG’s great idea to use the folders as an options menu a new world of possibilities opens up. For example is ninja76 working on an integration of torrents into the UI and realtebo integrates file downloads via the IRC network.

I can’t wait to see more mods that bring the little black one to shine even more.

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.

June 3, 2009

event-osd Tutorial Available

Filed under: event-osd, osd — Tags: , , , , , — Elmar Weber @ 02:59

A tutorial for event-osd is available at the Wiki: http://sourceforge.net/apps/trac/wdtvtools/wiki/event-osd/tutorial.

The wiki page for event-osd also has a used by section, so if you have an application that uses event-osd you’re welcome to add a link to it (or mail it to me or leave it here in a comment).

June 2, 2009

event-osd r112 Released

Filed under: event-osd, osd — Tags: , , , , — Elmar Weber @ 04:01

The second release of event-osd is out. event-osd is a notification system for the WDTV’s GUI that allows you to modify the OSD on the fly.

This release works with the media library enabled and should now work on all WDTVs with ext3-boot 0.9.2 and WDLXTV >= 0.5.2.

Besides the main bugfix some smaller changes have been made: app.event files are now converted with dos2unix, so if the file has Windows file endings it still works. Furthermore some system calls have been optimized so that there is less overhead when the directory changes.

You can download the new release from http://sourceforge.net/project/downloading.php?group_id=261153&filename=event-osd-r112-wdtv.zip.

As always, the documentation for developers is available at the Wiki at http://apps.sourceforge.net/trac/wdtvtools/wiki/event-osd.

A video showing event-osd in action with appletrailerfs:

May 30, 2009

First Version of event-osd Released

Filed under: event-osd, osd — Tags: , , , — Elmar Weber @ 23:28

The first public release of event-osd, a notification system for the WDTV’s GUI, is out. It enables third party scripts to modify the GUI on the fly based on the current directory.

This release is designed for the WDTV firmware in the version 1.02.07 it probably only works with this exact version or other firmwares like ext3-boot or WDLXTV that are based on the 1.02.07 too.

You can download it from http://sourceforge.net/project/downloading.php?group_id=261153&filename=event-osd-r100-wdtv.zip.

A, very short, documentation for developers is available at the Wiki at http://sourceforge.net/apps/trac/wdtvtools/wiki/event-osd.

A video showing event-osd in action with appletrailerfs:

And a screenshot:

event-osd-example

Older Posts »

Powered by WordPress