Sign up here and you can log into the forum!

1.02.21.WDLXTV_LIVE-pTHC-MNV4 (Early XMASS UPDATE FIXED)

General WDLXTV-Live forum

Re: 1.02.21.WDLXTV_LIVE-pTHC-MNV4   

Postby proove2613 » Thu Jun 23, 2011 8:50 am

Is there a way of resetting everything with this version? Resetting to default through the WEC does NOT reset everything. I think it is because the reset button in the WEC is meant to be used with the "classic" WDLXTV version so some settings (ex. MN4 or MediaMark) are not reset. Is there a way of cleaning everything and reinstalling with default values? Thanks
proove2613
WDTVer
 
Posts: 26
Joined: Sat Apr 24, 2010 10:08 am

Re: 1.02.21.WDLXTV_LIVE-pTHC-MNV4   

Postby recliq » Thu Jun 23, 2011 8:55 am

search the f**** forum, it's been posted a hundred times...
Code: Select all
rm -r /conf/*
config_tool -s
config_tool -s
reboot
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: 1.02.21.WDLXTV_LIVE-pTHC-MNV4   

Postby rck » Wed Jul 06, 2011 2:30 am

Hello zmiki !

First thanks for this packaged Flash version, it's almost perfect for me :D
Just one request: now Sailort fix a bug I reported in MediaNavigation v4, would you be kind enough to repack your firmware with MN4 rev.164 ?

Thanks for all 8-)
rck
n00b
 
Posts: 12
Joined: Sun Sep 26, 2010 4:54 am

Re: 1.02.21.WDLXTV_LIVE-pTHC-MNV4   

Postby recliq » Wed Jul 06, 2011 3:09 am

Did anyone of you notice that you can achieve the same functionality (WDLXTV with MN and OSDMOD without connected USB) with a standard WDLXTV and the NETAPP feature? :ugeek:
Using this setup you don't need to repack and reflash the firmware for every little bugfix that was made to MN or the OSDMOD...
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: 1.02.21.WDLXTV_LIVE-pTHC-MNV4   

Postby virtualdj » Fri Jul 08, 2011 9:16 am

Hi zmiki and thanks for this firmware version.

I have a problem with MediaMark, but days ago it worked well. Anyway, now I'm unable to mark any file using the STOP button.
I first set the MEDIAMARK_DIR using wec to "/conf" (and I'm able to see old marks and even to unmark them, but not to mark new files), then I tried to move it to "/tmp" and after reboot I'm still unable to mark any files.

This is my dmaosd.log text:
Code: Select all
MediaMark: Start loading MediaMark plugin v1.1.3
MediaMark: [getSuffix]
MediaMark: [getSuffix] suffix: avi|mkv|mpe*g|rm|mp4|wmv|asf|mov|vob|iso|bin|dat
MediaMark: [getMarkFile]
MediaMark: [getMarkFile] markFile: /tmp/mediaMark.log
MediaMark:   plugin path: /wdtvext/plugins/P20MediaMark/
MediaMark:   debug level: 5
MediaMark:       use SQL: false
MediaMark:      markfile: /tmp/mediaMark.log
MediaMark:   added WEC plugin.
MediaMark: End loading MediaMark plugin
... removed ...
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/Multimedia/Test.mp4
MediaMark: [getMovieHash] hash : c61a1d596fa3c3ac
MediaMark: [onPageKey] STOP key pressed
MediaMark: [searchHash] hash: c61a1d596fa3c3ac
MediaMark: [searchHash] hash NOT found!
MediaMark: [onPageKey] you pressed stop and file is NOT found - CREATE ENTRY
MediaMark: [createEntry]
MediaMark: [createEntry] hash: c61a1d596fa3c3ac

When using /conf/mediaMark.log the dmaosd.log was the same.
What's happened?
virtualdj
n00b
 
Posts: 12
Joined: Tue Dec 21, 2010 11:44 am

Re: 1.02.21.WDLXTV_LIVE-pTHC-MNV4   

Postby nottlle » Sun Jul 10, 2011 12:38 pm

virtualdj wrote:Hi zmiki and thanks for this firmware version.

I have a problem with MediaMark, but days ago it worked well. Anyway, now I'm unable to mark any file using the STOP button.
I first set the MEDIAMARK_DIR using wec to "/conf" (and I'm able to see old marks and even to unmark them, but not to mark new files), then I tried to move it to "/tmp" and after reboot I'm still unable to mark any files.

This is my dmaosd.log text:
Code: Select all
MediaMark: Start loading MediaMark plugin v1.1.3
MediaMark: [getSuffix]
MediaMark: [getSuffix] suffix: avi|mkv|mpe*g|rm|mp4|wmv|asf|mov|vob|iso|bin|dat
MediaMark: [getMarkFile]
MediaMark: [getMarkFile] markFile: /tmp/mediaMark.log
MediaMark:   plugin path: /wdtvext/plugins/P20MediaMark/
MediaMark:   debug level: 5
MediaMark:       use SQL: false
MediaMark:      markfile: /tmp/mediaMark.log
MediaMark:   added WEC plugin.
MediaMark: End loading MediaMark plugin
... removed ...
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/Multimedia/Test.mp4
MediaMark: [getMovieHash] hash : c61a1d596fa3c3ac
MediaMark: [onPageKey] STOP key pressed
MediaMark: [searchHash] hash: c61a1d596fa3c3ac
MediaMark: [searchHash] hash NOT found!
MediaMark: [onPageKey] you pressed stop and file is NOT found - CREATE ENTRY
MediaMark: [createEntry]
MediaMark: [createEntry] hash: c61a1d596fa3c3ac

When using /conf/mediaMark.log the dmaosd.log was the same.
What's happened?


Try this...

recliq wrote:
These are the available config settings for MediaMark:
MEDIAMARK_DIR
Location where the database is stored. You should mount the drive under /tmp/mnt (create a .mnt file on the drive) so it's mounted early in the boot process.
nottlle
n00b
 
Posts: 15
Joined: Tue Feb 15, 2011 11:53 am

Re: 1.02.21.WDLXTV_LIVE-pTHC-MNV4   

Postby virtualdj » Mon Jul 11, 2011 9:00 am

@nottlle
Thank you for your tip, unfortunately it doesn't work.
I've created the ".mnt" file on the USB flash and rebooted; now it mounts on /tmp/mnt/FC60-5B04/.
Changed MEDIAMARK_DIR from wec and rebooted but by pressing STOP button the mediaMark.log file is NOT created!

Here's the new log:
Code: Select all
# grep MediaMark /tmp/dmaosd.log
    /wdtvext/plugins/P20MediaMark/MediaMark.plugin.js
MediaMark: Start loading MediaMark plugin v1.1.3
MediaMark: [getSuffix]
MediaMark: [getSuffix] suffix: avi|mkv|mpe*g|rm|mp4|wmv|asf|mov|vob|iso|bin|dat
MediaMark: [getMarkFile]
MediaMark: [getMarkFile] markFile: /tmp/mnt/FC60-5B04/mediaMark.log
MediaMark:   plugin path: /wdtvext/plugins/P20MediaMark/
MediaMark:   debug level: 5
MediaMark:       use SQL: false
MediaMark:      markfile: /tmp/mnt/FC60-5B04/mediaMark.log
MediaMark:   added WEC plugin.
MediaMark: End loading MediaMark plugin
MediaMark: [onPageCreated] page: welcome.xml
MediaMark: [onPageCreated] page: villa_home.xml
MediaMark: [onPageCreated] page: screensaver.xml
MediaMark: [onPageCreated] page: basic_browse_thumb_video.xml
MediaMark: [selectionFix]
MediaMark: [onPageKey] Key: 1
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 38
MediaMark: [selectionFix]
MediaMark: [selectionFix]
MediaMark: [onPageKey] Key: 1
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 1
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 33
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 33
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 33
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 33
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 33
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 33
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 33
MediaMark: [selectionFix]
MediaMark: [onPageKey] Key: 1
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 38
MediaMark: [selectionFix]
MediaMark: [selectionFix]
MediaMark: [onPageKey] Key: 1
MediaMark: [checkFile] file: /tmp/media/usb/Multimedia/Test.avi
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/Multimedia/Test.avi
MediaMark: [getMovieHash] hash : 146deca9719ab7d8
MediaMark: [searchHash] hash: 146deca9719ab7d8
MediaMark: [searchHash] hash NOT found!
MediaMark: [setMark] false
MediaMark: [checkFile] hash NOT found!
MediaMark: [onPageKey] Key: 1
MediaMark: [checkFile] file: /tmp/media/usb/Multimedia/Test.avi
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/Multimedia/Test.avi
MediaMark: [getMovieHash] hash : 146deca9719ab7d8
MediaMark: [searchHash] hash: 146deca9719ab7d8
MediaMark: [searchHash] hash NOT found!
MediaMark: [setMark] false
MediaMark: [checkFile] hash NOT found!
MediaMark: [onPageCreated] page: preopen.xml
MediaMark: [onPageKey] Key: 38
MediaMark: [selectionFix]
MediaMark: [checkFile] file: /tmp/media/usb/Multimedia/Test.avi
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/Multimedia/Test.avi
MediaMark: [getMovieHash] hash : 146deca9719ab7d8
MediaMark: [searchHash] hash: 146deca9719ab7d8
MediaMark: [searchHash] hash NOT found!
MediaMark: [setMark] false
MediaMark: [checkFile] hash NOT found!
MediaMark: [onPageCreated] page: video_run.xml
MediaMark: [searchHash] hash: 146deca9719ab7d8
MediaMark: [searchHash] hash NOT found!
MediaMark: [createEntry]
MediaMark: [createEntry] hash: 146deca9719ab7d8
MediaMark: [onPageKey] Key: 33
MediaMark: [checkFile] file: /tmp/media/usb/Multimedia/Test2.avi
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/Multimedia/Test2.avi
MediaMark: [getMovieHash] hash : 69632504222d4e4d
MediaMark: [searchHash] hash: 69632504222d4e4d
MediaMark: [searchHash] hash NOT found!
MediaMark: [setMark] false
MediaMark: [checkFile] hash NOT found!
MediaMark: [onPageKey] Key: 32
MediaMark: [checkFile] file: /tmp/media/usb/Multimedia/Test.avi
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/Multimedia/Test.avi
MediaMark: [getMovieHash] hash : 146deca9719ab7d8
MediaMark: [searchHash] hash: 146deca9719ab7d8
MediaMark: [searchHash] hash NOT found!
MediaMark: [setMark] false
MediaMark: [checkFile] hash NOT found!
MediaMark: [onPageKey] Key: 41
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/Multimedia/Test.avi
MediaMark: [getMovieHash] hash : 146deca9719ab7d8
MediaMark: [onPageKey] STOP key pressed
MediaMark: [searchHash] hash: 146deca9719ab7d8
MediaMark: [searchHash] hash NOT found!
MediaMark: [onPageKey] you pressed stop and file is NOT found - CREATE ENTRY
MediaMark: [createEntry]
MediaMark: [createEntry] hash: 146deca9719ab7d8
MediaMark: [onPageKey] Key: 41
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/Multimedia/Test.avi
MediaMark: [getMovieHash] hash : 146deca9719ab7d8
MediaMark: [onPageKey] STOP key pressed
MediaMark: [searchHash] hash: 146deca9719ab7d8
MediaMark: [searchHash] hash NOT found!
MediaMark: [onPageKey] you pressed stop and file is NOT found - CREATE ENTRY
MediaMark: [createEntry]
MediaMark: [createEntry] hash: 146deca9719ab7d8

Why it doesn't create nor update the file? How can I debug that?
I tried to manually inserting (with echo) the hash into the mediaMark.log file and then the plugin reads it correctly (it displays the green WATCHED text), but I'm never able to write to that file.
The file is writable by root (-rw-r--r--).
virtualdj
n00b
 
Posts: 12
Joined: Tue Dec 21, 2010 11:44 am

Re: 1.02.21.WDLXTV_LIVE-pTHC-MNV4   

Postby recliq » Mon Jul 11, 2011 10:57 am

can you provide the output of this command?
Code: Select all
egrep '^(MediaMark|Lib)' /tmp/dmaosd.log
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: 1.02.21.WDLXTV_LIVE-pTHC-MNV4   

Postby virtualdj » Mon Jul 11, 2011 10:59 am

Aahhh! I think I've found the bug, but this also means that MediaMark inside zmiki's version never worked (and I though it did).
However, here's the fix. In the file /wdtvext/plugins/P20MediaMark/MediaMark.plugin.js, beginning on line 222:
Code: Select all
MediaMark.prototype.createEntry = function(hash) {
    this.debug.Log("[createEntry]", 1);
    this.debug.Log("[createEntry] hash: " + hash, 2);

    if (this.useSql === true) {
        if (this.db && hash) {
            var res = this.sql.do("insert into mediamark (hash, time) values ('$
        }
    } else {
        if (file && hash) {
            var createdDateTime = new Date();
            var timeStamp = createdDateTime.getTime();
            timeStamp = timeStamp / 1000;
            var line = hash + ";" + timeStamp;
            var res = executeCmd("echo '" + line + "' >>" + this.markFile, this$
        }
    }
}


Now the statement:
Code: Select all
if (file && hash) {

has to be replaced with:
Code: Select all
if (this.file && hash) {

and then the file is always updated.

I don't know how it messed up as recliq's svn version is OK, because it is not directly writable (so I copied the file, made the edits and then mount -o bind in S99user-script).
Now it works. :)
virtualdj
n00b
 
Posts: 12
Joined: Tue Dec 21, 2010 11:44 am

Re: 1.02.21.WDLXTV_LIVE-pTHC-MNV4   

Postby virtualdj » Mon Jul 11, 2011 11:01 am

recliq wrote:can you provide the output of this command?

Code: Select all
# egrep '^(MediaMark|Lib)' /tmp/dmaosd.log
MediaMark: Start loading MediaMark plugin v1.1.3
MediaMark: [getSuffix]
Lib: [getConfigSetting]
Lib: [getConfigSetting]  /conf/config:MEDIAMARK_SUFFIX = avi|mkv|mpe*g|rm|mp4|wmv|asf|mov|vob|iso|bin|dat
MediaMark: [getSuffix] suffix: avi|mkv|mpe*g|rm|mp4|wmv|asf|mov|vob|iso|bin|dat
MediaMark: [getMarkFile]
Lib: [getConfigSetting]
Lib: [getConfigSetting]  /conf/config:MEDIAMARK_DIR = /conf
MediaMark: [getMarkFile] markFile: /conf/mediaMark.log
MediaMark:   plugin path: /wdtvext/plugins/P20MediaMark/
MediaMark:   debug level: 5
MediaMark:       use SQL: false
MediaMark:      markfile: /conf/mediaMark.log
MediaMark:   added WEC plugin.
MediaMark: End loading MediaMark plugin
MediaMark: [onPageCreated] page: welcome.xml
MediaMark: [onPageCreated] page: villa_home.xml
MediaMark: [onPageCreated] page: screensaver.xml
virtualdj
n00b
 
Posts: 12
Joined: Tue Dec 21, 2010 11:44 am

PreviousNext

Return to Discussion

Who is online

Users browsing this forum: No registered users and 3 guests