WDTV Forum - WDTV Media Player

WDTV 1 Forum Groups => Homebrew / Custom Firmware => Topic started by: redindian on June 09, 2009, 06:06:57 AM

Title: Introduction to Homebrew / Hacks for Beginners
Post by: redindian on June 09, 2009, 06:06:57 AM
How about a sticky introduction thread?

(MOD - Here ya go!)  ;)

With some beginners info like the following.

FAQ:

http://wiki.wdtv.org/doku.php?id=wdtv_faq

WIKI:

http://wiki.wdtv.org/ (custom)
http://wdtv.wetpaint.com/ (general, also custom)

FIRMWARES:

http://wdtvforum.com/main/index.php?topic=446.0 (WDLXTV)
http://wdtvforum.com/main/index.php?topic=453.0 (ext3-boot)
http://wdtvforum.com/main/index.php?topic=964.0 (root.bin)

THEMES OSD MODS:

http://wdtvforum.com/main/index.php?topic=1039.0 (Enhancing OSD MOD)
http://wdtvforum.com/main/index.php?topic=745.0 (Theme tutorial)
http://wdtvforum.com/main/index.php?topic=668.0 (Juliojs theme & enhanced)
http://wdtvforum.com/main/index.php?topic=646.0 (Prototype preview)
http://wdtvforum.com/main/index.php?topic=889.0 (Prototype preview)

PLUGINS/ADDONS:

http://wdtvforum.com/main/index.php?topic=1087.0 (Apple Trailers)
http://wiki.wdtv.org/doku.php?id=wdtv_web_interface (Webserver)
http://wdtvforum.com/main/index.php?topic=1667.0 (Webserver addons, Clock, RSS, Weather, movie info, etc.)
http://wdtvforum.com/main/index.php?topic=824.0 (Remote control)
http://b-rad.cc/wdlxtv-app-packs (More application packs)
http://b-rad.cc/wdtv-optware-tips (Linux applications through optware)

DEVELOPERS:

http://wdtvforum.com/main/index.php?topic=982.0 (Event-osd, detect path to allow dynamic OSD)
http://wdtvforum.com/main/index.php?topic=1001.0 (Eiri: A Command Line and Network Interface to the IR Port)
http://wdtvforum.com/main/index.php?topic=930.0 (DMA OSD XML Reference)

OTHER:

http://wdtvforum.com/main/index.php?action=search

Just a quick list of what is out there at the moment. Sorry if I forgot anyone. These were the ones that first came to mind and I don't have time to list them all. :-)
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: Nisei on June 10, 2009, 11:56:37 PM
Nice work redindian!!!
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: JohnyB on June 14, 2009, 05:22:37 PM
This sticky is one of the best things for us non-programmers.  Thanks for creating it.

It would be greatly appreciated if someone could add a guide that includes the telnet commands and ftp commands that will get us to the folders that are referred to in some of the apps.  Speaking for myself, I am struggling to figure out how to navigate. 

Something else that would be usefull, would be some debugging tips (again using telnet or whatever) that will point us in the right direction when something doesn't work.


Thank-you
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: redindian on June 16, 2009, 11:20:25 PM
For FTP you can use any FTP program. Connect to 'wdtv' or the ip of the wdtv. Use 'root' for the username and no password.

For telnet use either the built in telnet application in windows:

- Start, Run, type 'telnet wdtv', enter
- Login with 'root' and no password

Or you can download putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) which is a very good free telnet program
- Again, connect to wdtv (or the ip of the wdtv) and login with 'root' and no password

You then have root access to your wdtv under Linux. Just search on google for a busybox quickstart, or any linux shell manual. Most command accept '--help' or '-?' for more information. If you are familiar with dos, 'cd dir' is the same and 'ls *.jpg' is similar to 'dir *.jpg'. And you can complete dir/file names with [tab].

There is loads of good information on the web. That is how I got and learned everything. Good luck!
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: Jackson on July 07, 2009, 01:06:10 AM
For FTP you can use any FTP program. Connect to 'wdtv' or the ip of the wdtv. Use 'root' for the username and no password.


Oddly, I'm not having success with 'any' FTP client just one of the 3 FTP tools I use. 

Filezilla works for me, but neither FtpDrive and WinSCP are not making a connection to my WDTV despite me having had all 3 FTPs working with the FTP server on my Mediagate 450.  It's probably something I'm doing wrong but it's not obvious what, given that I seem to have demonstrated that I can configure the non-working tools with other devices so maybe I ought to know what I'm doing with the WDTV settings.....

Maybe someone could post their settings for FtpDrive and or WinSCP if they have got them working? Please. 

And post other FTP tools that work well.

I'd prefer to avoid FileZilla because it doesn't support a 'Move' file but forces me to FTP=copy and then delete manually - and when 'moving' a large number of files, it can be hard to keep track of what was successfully transferred.

Re telnet PuTTY works great as does the built in Telnet of Windows (you have to unhide it in Vista of course).  But PuTTY handles the text colouring and CURSES cursor movement better - I guess the terminal emulation is more complete.
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: mike2k8 on July 24, 2009, 10:21:32 AM
For FTP you can use any FTP program. Connect to 'wdtv' or the ip of the wdtv. Use 'root' for the username and no password.


Oddly, I'm not having success with 'any' FTP client just one of the 3 FTP tools I use. 

Filezilla works for me, but neither FtpDrive and WinSCP are not making a connection to my WDTV despite me having had all 3 FTPs working with the FTP server on my Mediagate 450.  It's probably something I'm doing wrong but it's not obvious what, given that I seem to have demonstrated that I can configure the non-working tools with other devices so maybe I ought to know what I'm doing with the WDTV settings.....

Maybe someone could post their settings for FtpDrive and or WinSCP if they have got them working? Please. 

And post other FTP tools that work well.

I'd prefer to avoid FileZilla because it doesn't support a 'Move' file but forces me to FTP=copy and then delete manually - and when 'moving' a large number of files, it can be hard to keep track of what was successfully transferred.

Re telnet PuTTY works great as does the built in Telnet of Windows (you have to unhide it in Vista of course).  But PuTTY handles the text colouring and CURSES cursor movement better - I guess the terminal emulation is more complete.

Some ftp clients don't seem to work for some reason with a login without password.
 
For example I am using the good old WS_FTP95LE, and it didn't work until I set a pasword for the root user. (In telnet session 'passwd')

WARNING: If you set a password and you ever forget it, you have no way to recover it, even flashing the firmware doesn't reset it. So you better put something easy to remember, for example 'root' (if you don't want to have a box you can connect to anymore.)
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: Jackson on July 27, 2009, 06:35:50 AM
Some ftp clients don't seem to work for some reason with a login without password.
 
For example I am using the good old WS_FTP95LE, and it didn't work until I set a pasword for the root user. (In telnet session 'passwd')

WARNING: If you set a password and you ever forget it, you have no way to recover it, even flashing the firmware doesn't reset it. So you better put something easy to remember, for example 'root' (if you don't want to have a box you can connect to anymore.)

I think I found the problem.  The FTP clients default to auto detection of the character set to use.  When I changed the 'auto' to DOS or equivalent rather than UTF8 I could get a connection so I've now got WinSCP working which does support a 'move'.  I suspect the different FTP softwares try to determine the 'auto' setting in different sequence and this affects success connecting.

FTPDrive I've also managed to get working with this trick so that the wdtv appears like a Z: 'disconnected' drive  but uses FTP to manipulate the files but this is really redundant since you can get a similar functionality by just enabling the samba.app.bin and navigating to \\wdtv in explorer.  Having said that while I could play, edit or delete files via the Samba share it seemed to give an error about insufficient space in the /tmp/media/usb mount point when I tried to copy/move a 4GB file from PC to the writable partition on the USB drive attached to the WDTV - the drive has 100s of GB free so it isn't the drive itself that is generating the error.  Until I get round this space error limitation, FTP seems to be the best option to move files from my PC to WDTV attached USB drive.
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: wooly on July 29, 2009, 10:32:20 AM
Did you have any luck with the out of space problem, I have the same issue and have run out of "fixes". Like you I am using FTP as a temporary solution

Wooly
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: Jackson on July 30, 2009, 02:54:37 AM
No I haven't yet found a solution that I've tested. 

But just found today that someone posted that you have to edit the samba.conf because the free space is being calculated for the parent mount on the WDTV not the actual drive hence the error.

Seemed to make sense but I haven't tried it out yet.

Search for the thread problem with SAMBA/CIFS- uploading in the WDTV general forum - the solution was posted by ask4help on April 22nd.

There seems to be a bit of downside in that you have to hard code your drive details in to the conf file which makes it unattractive if you want to swap drives in and out.  In an ideal world the free space problem could be solved some other way that didn't require manual editing but I'm not a linux guru to know if that is possible.
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: wooly on July 31, 2009, 07:16:23 AM
Finally got it working, see



http://wdtvforum.com/main/index.php?topic=1588.msg12322#msg12322 (http://wdtvforum.com/main/index.php?topic=1588.msg12322#msg12322)
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: timeey on August 01, 2009, 04:43:40 AM
Hey,

someone has a link for a tutorial to extract/mount the wdtv.bin and make a new wdtv.bin after modifying (such b-rad and zorander did)? I knew it was here in the forum, but i can't find it anymore. I want to remove some started modules that i didn't need (for faster startup like the official firmware) and maybe add some stuff. Hope you can help me. Big thanks.

And maybe that link could be added in the first post.
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: suburbancore on November 04, 2009, 06:25:26 AM
Hey,

someone has a link for a tutorial to extract/mount the wdtv.bin and make a new wdtv.bin after modifying (such b-rad and zorander did)? I knew it was here in the forum, but i can't find it anymore. I want to remove some started modules that i didn't need (for faster startup like the official firmware) and maybe add some stuff. Hope you can help me. Big thanks.

And maybe that link could be added in the first post.

the process for mounting a .bin filesystem and modifying it is described very well in  step 4 here : http://wdtvforum.com/main/index.php?topic=1232.0 (http://wdtvforum.com/main/index.php?topic=1232.0)

In that thread the .bin in question is the wireless mod however the process is the same
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: kess on February 10, 2010, 12:45:28 PM
hi there,

Please somebody help me. I looked through the perfect collected list, but...
I did not find out what firmware and apps needed for me.
I have an USB-ethernet adapter and I'd like to connect my wdtv to the router. (b-rad or zorander fw is good for it?)
I'd like use my wdtv with torrent client, if it is possible as a webserver.
I did not find a "howto", but it is possibe that it's my fault...

thanks
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: pacorob on February 17, 2010, 02:46:20 AM
hi there,

Please somebody help me. I looked through the perfect collected list, but...
I did not find out what firmware and apps needed for me.
I have an USB-ethernet adapter and I'd like to connect my wdtv to the router. (b-rad or zorander fw is good for it?)
I'd like use my wdtv with torrent client, if it is possible as a webserver.
I did not find a "howto", but it is possibe that it's my fault...

thanks

I'm running a 'older' 0.5.6.1 from WDLTV that works perfectly with my WDTV (1st edition) and a wireless network stick from WDTV for exact apps and specs on my end see my signature.

You can grab the package and apps in 1 zip file from another topic here on the forum:
http://wdtvforum.com/main/index.php?topic=1598.msg35850#msg35850 (http://wdtvforum.com/main/index.php?topic=1598.msg35850#msg35850)
for instructions see my post from December '09
for download files see my last post of today.

A small instruction is also there.
You only need to edit your network key in 1 file and upload all files to your usb stick and plug into your WDTV for detailed instruction see the other topic.


Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: kess on February 17, 2010, 11:53:16 PM
thank ya
I'll check it and download
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: wdtvliver on March 09, 2010, 04:40:50 PM
Hi

Can anybody tell me how to install / flash this "apple" trailers plugin?

-DR
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: ricg on May 30, 2010, 05:46:22 AM
Today I loaded b.rads 0.4.2.0 firmware. Working fine for the most part. Have a couple things I was trying to figure out how to use.

1) Deluge and nzbget - I am posting that part of my options file to see if it is right. If it is I have no idea how to access either. Also when I go into media server audio does not seem to work with HD apple trailers but it will with small, med or large. In the same section there is a folder next to the revision 3 folder called UMSP v.0.1.2 but when I go in there it says no media contained, what is this folder for.

## Disable UMSP (default enabled - REQUIRES LIGHTTPD=ON TO WORK)
config_tool -c UMSP=ON

## Disable lighttpd webserver (default enabled)
config_tool -c LIGHTTPD=ON

## enable Deluge bittorrent client (default disabled)
## *** lighttpd webserver must be enabled to use webui ***
config_tool -c DELUGE=ON

## disable Deluge bittorrent webui
config_tool -c DELUGEWEBUI=ON

## Enable nzbget usenet client (default disabled)
## *** lighttpd webserver must be enabled to use webui ***
config_tool -c NZBGET=ON

2) Movie sheets - I would really like to use movie sheets. Yes I did search the forums. The way I am setup I have a 1 TB seagate external on there I have a folder called media. Underneath there I have folders called my anime, my tv, my movies, etc. Sub to those I have folders for each item. For example: Z:\Media\My Movies\Movie Title 1\. In that folder I have the actual movie then I used tvixie to gather the info for all my stuff. Now there is a file called folder.jpg, front_cover.tvixie, movieinfo.tvixie, and background.jpg. Here is copy of that section of the options file also:

## Movie sheet modes (only one can be enabled at a time)
## unless you have sheets for each mode you will encounter oddities switching around modes
## AKA this isn't magic
## Full screen std mode:
#config_tool -c MSHEETMODE=std
## 1280x460 sheet mode:
#config_tool -c MSHEETMODE=sheet
## 500x720 wall mode:
#config_tool -c MSHEETMODE=wall

#Enable Movie Sheets
config_tool -c SHOW_FILESIZE_SETTING=0
config_tool -c MSHEETMODE=sheet
config_tool -c VIDMSHEET=ON
config_tool -c GENMSHEET=ON
config_tool -c LISTMSHEET=ON

## turn on moviesheets for a list type
## you must turn it on for a view type to see sheets!
## video thumb mode
config_tool -c VIDMSHEET=ON
## audio/photo thumb mode
config_tool -c GENMSHEET=ON
## list mode (video/audio/photo)
config_tool -c LISTMSHEET=ON

## change list view to 4/6/8/11 entries
#config_tool -c LISTNUM=4
#config_tool -c LISTNUM=6
#config_tool -c LISTNUM=8
#config_tool -c LISTNUM=10 (default)
#config_tool -c LISTNUM=11
#config_tool -c LISTNUM=12

## change video thumb view to various amounts of thumbs
#config_tool -c THUMBRESO=120x160 # 21
#config_tool -c THUMBRESO=150x200 # 12
#config_tool -c THUMBRESO=163x245 # 8 (default)
#config_tool -c THUMBRESO=180x240 # 10
#config_tool -c THUMBRESO=225x300 # 4
#config_tool -c THUMBRESO=240x360 # 4

## change music/photo thumb view to 10/15 thumbs
#config_tool -c GENTHUMBS=10 # 10
#config_tool -c GENTHUMBS=15 # 15 (default)

## change video info overlay
## ( for subtitle viewing during pause/timing/etc)
## requires reboot after change
## upper ~60%
#config_tool -c VIDEO_INFO_BAR=2
## top (warning: options bar covers up info overlay with setting 3)
#config_tool -c VIDEO_INFO_BAR=3

I understand these are all probably noob questions but I would really appreciate some help.
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: hello world on March 15, 2011, 03:03:04 AM
The first link is dead
Title: Re: Introduction to Homebrew / Hacks for Beginners
Post by: soulz on March 15, 2011, 06:33:23 PM
I am fairly new to this so bear with me,
I have had my wdtv live for a few months now and after looking on youtube at modifications i decided to have a go
Its taken three days so far , the main problem being , i downloaded the latest version first the  b.rads 0.4.3.0 firmware.  i got it to modify the box ok , and firmware worked great
apart from the movie sheets , i used the webend and tried all types of settings , then i read somewhere 0.4.2.0 shows sheets soToday I loaded b.rads 0.4.2.0 firmware. on to my usb stick , modified the settings file on the root dir to show full screen sheets , number of thumbnails etc . plugged it in and it worked , also the addons menu appeared .

so all the above I am sorted with but i have a problem that maybee someone can help with.
my wdtv live is on a wired network , and has a 1TB drive attached to it , when i browse the attached drive i see the movie thumbs and the movie sheets just as i want them.

however I have four other external hard drives attached to my pc wich is on the same wired network , I have tried a number of server software packages with diffrent results
TVERSITY displays what you tell it to display but no thumbs or styesheets but plays everything
TWONKY does much the same
XBMC looks nice but couldnt get sheets to work and thumbs work off and on
PS3 media server this is great for viewing media off my hard drives attached to my pc it even shows thumbs but again to view style sheets i have to click on the actual jpg. which is not ideal

so my question is , is it possible to view film sheets off external hard drives attached to your pc the same as i can view them on the hard drive attached to the wdtv live ?
i know it may seem a little confussing but i have got this far by trial and error , and realy need advice