WDTV - compiling media library for 3 days - lights flashing

Check the threads, Pip. There has been a lot on the subject. Try this one for a start:

And try the ‘search’ function on the subject. The WDTV manual (troubleshooting at the end) says ‘failure to build library’ - make sure the drive is not set to ‘read only.’