Sign up here and you can log into the forum!

Plugin: MediaMark [internal] (WDLXTV 0.4.5.1+)

The WDTVExt plugin depot. Plugins/libraries/code only

Re: Plugin: MediaMark [internal] (WDLXTV 0.4.5.1+)   

Postby RMerlin » Sat Jan 01, 2011 8:15 pm

Yes, I noticed that. We'll continue troubleshooting this in the other thread were you posted logs.
WDLXTV Webend maintainer. Visit http://www.lostrealm.ca/wdlxtv to see my other WDLXTV projects.
If you like my work, please consider donating.
User avatar
RMerlin
WDLXTV Team
 
Posts: 3236
Joined: Sat Jun 26, 2010 9:25 am
Location: Montreal, Canada

Re: Plugin: MediaMark [internal] (WDLXTV 0.4.5.1+)   

Postby RavRob » Sun Jan 02, 2011 7:37 am

OK RMerlin. Maybe we can keep working from the thread now. My sheets are back thanks to you and B-Rad. I would love to get my MediaMark plugin working again.
Windows 7 Ultimate with SP1
WDTV Live
1.02.21 WDLXTV 0.5.1.4 (Beta)
Linksys - WUSB600N USB Adapter
DLink - Dir-655 Router
Atheros - AR8131 PCI-E Gigabit Ethernet Controller (NDIS 6.20)
XBMC - The Future of Television
User avatar
RavRob
Supporter
 
Posts: 1387
Joined: Fri Apr 16, 2010 9:57 am
Location: New-Brunswick, Canada

Re: Plugin: MediaMark [internal] (WDLXTV 0.4.5.1+)   

Postby recliq » Sun Jan 02, 2011 9:16 am

Have a look at the first post.
You can also still use the 'old' MM from svn or simply copy your old mediamark.log file and configure the integrated plugin to use it.
­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: 5022
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: MediaMark [internal] (WDLXTV 0.4.5.1+)   

Postby RavRob » Sun Jan 02, 2011 10:42 am

Tx recliq
I have enabled mediamark plugin in the WEC but I can not find any MEDIAMARK_DIR to set a path to...
I must be still missing something.
Up to early this PM I didn't even have such plugins in the WEC and no Sheets. RMerlin and B-Rad coached me through this. Now I am that much closer but no internal MediaMark. I can still use the external one. Is there any differences? If the internal is the same as the external I just won't bother but it looks like the internal can do more then the external.
Windows 7 Ultimate with SP1
WDTV Live
1.02.21 WDLXTV 0.5.1.4 (Beta)
Linksys - WUSB600N USB Adapter
DLink - Dir-655 Router
Atheros - AR8131 PCI-E Gigabit Ethernet Controller (NDIS 6.20)
XBMC - The Future of Television
User avatar
RavRob
Supporter
 
Posts: 1387
Joined: Fri Apr 16, 2010 9:57 am
Location: New-Brunswick, Canada

Re: Plugin: MediaMark [internal] (WDLXTV 0.4.5.1+)   

Postby recliq » Sun Jan 02, 2011 11:59 am

recliq wrote:Changes:
- prepared various XML files to include image for MediaMark (so it can be changed by osd.bin)
- folders get marked if all contained media files are marked
- WEC plugin (for configuration)
:roll:

You can also enable debug
Code: Select all
config_tool -c MEDIAMARK_DEBUG=3
reboot

and post the output of
Code: Select all
grep MediaMark /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: 5022
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: MediaMark [internal] (WDLXTV 0.4.5.1+)   

Postby RavRob » Sun Jan 02, 2011 2:00 pm

So not sure why but as soon as I set the debug level to 3 it started working to a point. Some movies that have been watched just flash the check mark on the folder for a fraction of a second. If I get to the movie inside there are no check mark and no way to set one....or at least not the old fashion way by pressing the stop button.

Alvin and the Chipmunks is such a movie that has been watched but won't display the check mark.

Code: Select all
# grep MediaMark /tmp/dmaosd.log
Plugin found: /wdtvext/plugins/MediaMark/MediaMark.plugin.js
MediaMark: Start loading MediaMark plugin
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:   base path is /wdtvext/plugins/MediaMark/
MediaMark: End loading MediaMark plugin
MediaMark: [onPageCreated] page: welcome.xml
MediaMark: [onPageCreated] page: villa_home.xml
MediaMark: [onPageCreated] page: basic_browse.xml
MediaMark: [selectionFix]
MediaMark: [onPageKey] Key: 1
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 1
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 38
MediaMark: [onPageKey] Key: 1
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/1000 Ways To Die/
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 29
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/1000 Ways To Die/
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 1
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/6 Guns/
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/USB2/FADC0212DC01CA39/6 Guns/6 Guns.avi
MediaMark: [getMovieHash] hash : 86e8dd126d044664
MediaMark: [searchHash] hash: 86e8dd126d044664
MediaMark: [searchHash] hash NOT found!
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 29
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/6 Guns/
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/USB2/FADC0212DC01CA39/6 Guns/6 Guns.avi
MediaMark: [getMovieHash] hash : 86e8dd126d044664
MediaMark: [searchHash] hash: 86e8dd126d044664
MediaMark: [searchHash] hash NOT found!
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 1
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/A-Team/
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/USB2/FADC0212DC01CA39/A-Team/A-Team.iso
MediaMark: [getMovieHash] hash : 1e5e478c8920af6f
MediaMark: [searchHash] hash: 1e5e478c8920af6f
MediaMark: [searchHash] hash NOT found!
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 29
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/A-Team/
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/USB2/FADC0212DC01CA39/A-Team/A-Team.iso
MediaMark: [getMovieHash] hash : 1e5e478c8920af6f
MediaMark: [searchHash] hash: 1e5e478c8920af6f
MediaMark: [searchHash] hash NOT found!
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 1
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/All About Steve/
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/USB2/FADC0212DC01CA39/All About Steve/All About Steve.avi
MediaMark: [getMovieHash] hash : 7f1b5f0b2921b488
MediaMark: [searchHash] hash: 7f1b5f0b2921b488
MediaMark: [searchHash] hash NOT found!
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 35
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/Alpha and Omega/
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alpha and Omega/Alpha and Omega.avi
MediaMark: [getMovieHash] hash : 5d2f4510a6784b08
MediaMark: [searchHash] hash: 5d2f4510a6784b08
MediaMark: [searchHash] hash NOT found!
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 35
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 38
MediaMark: [onPageKey] Key: 1
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin & The Chipmunks/
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 38
MediaMark: [onPageKey] Key: 1
MediaMark: [checkFile] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin & The Chipmunks/Alvin & The Chipmunks.ts
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin & The Chipmunks/Alvin & The Chipmunks.ts
MediaMark: [getMovieHash] hash : d0f72e8f7903e22a
MediaMark: [searchHash] hash: d0f72e8f7903e22a
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/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin & The Chipmunks/Alvin & The Chipmunks.ts
MediaMark: [getMovieHash] hash : d0f72e8f7903e22a
MediaMark: [onPageKey] STOP key pressed
MediaMark: [searchHash] hash: d0f72e8f7903e22a
MediaMark: [searchHash] hash NOT found!
MediaMark: [onPageKey] you pressed stop and file is NOT found - CREATE ENTRY
MediaMark: [createEntry]
MediaMark: [createEntry] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin & The Chipmunks/Alvin & The Chipmunks.ts
MediaMark: [createEntry] hash: d0f72e8f7903e22a
MediaMark: [setMark] true
MediaMark: [onPageKey] Key: 64
MediaMark: [checkFile] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin & The Chipmunks/Alvin & The Chipmunks.ts
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin & The Chipmunks/Alvin & The Chipmunks.ts
MediaMark: [getMovieHash] hash : d0f72e8f7903e22a
MediaMark: [searchHash] hash: d0f72e8f7903e22a
MediaMark: [searchHash] hash found.
MediaMark: [setMark] true
MediaMark: [checkFile] hash found.
MediaMark: [onPageKey] Key: 1
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin & The Chipmunks/
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 35
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin and the Chipmunks - The Squeakquel/
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin and the Chipmunks - The Squeakquel/Alvin and the Chipmunks II.avi
MediaMark: [getMovieHash] hash : 10cd577c3277c5ca
MediaMark: [searchHash] hash: 10cd577c3277c5ca
MediaMark: [searchHash] hash NOT found!
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 38
MediaMark: [onPageKey] Key: 1
MediaMark: [checkFile] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin and the Chipmunks - The Squeakquel/Alvin and the Chipmunks II.avi
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin and the Chipmunks - The Squeakquel/Alvin and the Chipmunks II.avi
MediaMark: [getMovieHash] hash : 10cd577c3277c5ca
MediaMark: [searchHash] hash: 10cd577c3277c5ca
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/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin and the Chipmunks - The Squeakquel/Alvin and the Chipmunks II.avi
MediaMark: [getMovieHash] hash : 10cd577c3277c5ca
MediaMark: [onPageKey] STOP key pressed
MediaMark: [searchHash] hash: 10cd577c3277c5ca
MediaMark: [searchHash] hash NOT found!
MediaMark: [onPageKey] you pressed stop and file is NOT found - CREATE ENTRY
MediaMark: [createEntry]
MediaMark: [createEntry] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin and the Chipmunks - The Squeakquel/Alvin and the Chipmunks II.avi
MediaMark: [createEntry] hash: 10cd577c3277c5ca
MediaMark: [setMark] true
MediaMark: [onPageKey] Key: 64
MediaMark: [checkFile] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin and the Chipmunks - The Squeakquel/Alvin and the Chipmunks II.avi
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin and the Chipmunks - The Squeakquel/Alvin and the Chipmunks II.avi
MediaMark: [getMovieHash] hash : 10cd577c3277c5ca
MediaMark: [searchHash] hash: 10cd577c3277c5ca
MediaMark: [searchHash] hash found.
MediaMark: [setMark] true
MediaMark: [checkFile] hash found.
MediaMark: [onPageKey] Key: 1
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin and the Chipmunks - The Squeakquel/
MediaMark: [getMovieHash]
MediaMark: [getMovieHash] file: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin and the Chipmunks - The Squeakquel/Alvin and the Chipmunks II.avi
MediaMark: [getMovieHash] hash : 10cd577c3277c5ca
MediaMark: [searchHash] hash: 10cd577c3277c5ca
MediaMark: [searchHash] hash found.
MediaMark: [setMark] true
MediaMark: [onPageKey] Key: 34
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin & The Chipmunks/
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 64
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/Alvin & The Chipmunks/
MediaMark: [setMark] false
MediaMark: [onPageKey] Key: 1
MediaMark: [checkDir] dir: /tmp/media/usb/USB2/FADC0212DC01CA39/Alvin and the Chipmunks 1 and 2/
MediaMark: [setMark] false


It looks like the check mark for the movie is at the top right and behind the movie sheet. How do I get it to pop to the front?
Windows 7 Ultimate with SP1
WDTV Live
1.02.21 WDLXTV 0.5.1.4 (Beta)
Linksys - WUSB600N USB Adapter
DLink - Dir-655 Router
Atheros - AR8131 PCI-E Gigabit Ethernet Controller (NDIS 6.20)
XBMC - The Future of Television
User avatar
RavRob
Supporter
 
Posts: 1387
Joined: Fri Apr 16, 2010 9:57 am
Location: New-Brunswick, Canada

Re: Plugin: MediaMark [internal] (WDLXTV 0.4.5.1+)   

Postby recliq » Sun Jan 02, 2011 3:16 pm

you need to configure MEDIAMARK_DIR!
currently the plugin uses /tmp
Code: Select all
MediaMark: [getMarkFile] markFile: /tmp//mediaMark.log


Have you really read the first post? :roll:
­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: 5022
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: MediaMark [internal] (WDLXTV 0.4.5.1+)   

Postby RavRob » Sun Jan 02, 2011 3:22 pm

Yep. Didn't matter for now if I lose them. I have placed it in various location to test the outcome. Also note that I didn't have a location "MEDIAMARK_DIR or MEDIAMARK_FUSSIX for the most part. I just got it after I set the debug level to 3. I never had such entries in the WEC until that point. There now and set but same results where ever it is located. I have the log backed up so no biggie losing it from the TMP. That doesn't affect the part where the mark is at the top and behind the sheet.

How do I get it in front of the sheet and down to the bottom right where it once was?
Windows 7 Ultimate with SP1
WDTV Live
1.02.21 WDLXTV 0.5.1.4 (Beta)
Linksys - WUSB600N USB Adapter
DLink - Dir-655 Router
Atheros - AR8131 PCI-E Gigabit Ethernet Controller (NDIS 6.20)
XBMC - The Future of Television
User avatar
RavRob
Supporter
 
Posts: 1387
Joined: Fri Apr 16, 2010 9:57 am
Location: New-Brunswick, Canada

Re: Plugin: MediaMark [internal] (WDLXTV 0.4.5.1+)   

Postby recliq » Sun Jan 02, 2011 3:38 pm

Here's an example on how to setup with existing file:
Code: Select all
# find /tmp/media/usb -type f -name 'mediaMark.log'
/tmp/media/usb/.wdlxtv/mediaMark.log
# dirname /tmp/media/usb/.wdlxtv/mediaMark.log
/tmp/media/usb/.wdlxtv
# config_tool -c MEDIAMARK_DIR='/tmp/media/usb/.wdlxtv'
config saved val:key => (MEDIAMARK_DIR,/tmp/media/usb/.wdlxtv)

you shoul'd then see this in the dmaosd.log
Code: Select all
MediaMark: [getMarkFile] markFile: /tmp/media/usb/.wdlxtv/mediaMark.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: 5022
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: MediaMark [internal] (WDLXTV 0.4.5.1+)   

Postby RavRob » Sun Jan 02, 2011 3:58 pm

Thanks I got this part sorted out now. I used FileZilla to create a directory /tmp/media/usb/.wdlxtv_plugin/MediaMark where I placed the log. I then put that path in the WEC now that I can access that part of Xpert tab.

But how do I place the check mark in front of the movie sheet? I would like to see the check mark at the bottom right and in front of the sheet.

Thanks
Windows 7 Ultimate with SP1
WDTV Live
1.02.21 WDLXTV 0.5.1.4 (Beta)
Linksys - WUSB600N USB Adapter
DLink - Dir-655 Router
Atheros - AR8131 PCI-E Gigabit Ethernet Controller (NDIS 6.20)
XBMC - The Future of Television
User avatar
RavRob
Supporter
 
Posts: 1387
Joined: Fri Apr 16, 2010 9:57 am
Location: New-Brunswick, Canada

PreviousNext

Return to WDTVExt plugins

Who is online

Users browsing this forum: No registered users and 1 guest