Sign up here and you can log into the forum!

Plugin: CDManager (Update 09.19.2010)

The WDTVExt plugin depot. Plugins/libraries/code only

Re: Plugin: CDManager (Update 09.19.2010)   

Postby arifg » Thu Oct 14, 2010 8:05 pm

rmundaca wrote:1)


Thats barely could be the CDManager bug: it does nothing with subtitles.

rmundaca wrote:2)


Thats not a bug: as you might see "Media Folder" plugin hides all sub menu items under "Local drives" menu including the one CDManager creates. Once its impossible (or I do not know how) to reliably recognize if "Media Folder" plugin is loaded (because, depending on the loading order at the time of my initialization another plugin could possible be not loaded yet), the only possible workaround I can suggest for those who use this plugin with CDManager is to move "Eject button" one level up by replacing the code in doBuildMenus manually :

Code: Select all
CDManagerPlugin.prototype.doBuildMenus = function() {
   this.Debug.Log("[ doBuildMenus ]");

        Menu.Top["$$Video"].addChild(new Menu("ejectMenu", "$$Eject Optical Disk", this.rootPath + "eject_n.png", this.rootPath + "eject_f.png", true));

        Menu.Top["$$Music"]["$$Local Drives"].addChild(new Menu("ejectMenu", "$$Eject Optical Disk", this.rootPath + "eject_n.png", this.rootPath + "eject_f.png", true));

        Menu.Top["$$Photos"]["$$Local Drives"].addChild(new Menu("ejectMenu", "$$Eject Optical Disk", this.rootPath + "eject_n.png", this.rootPath + "eject_f.png", true));

        Menu.Top["$$Music"]["$$Local Drives"].ejectMenu.handler = function() {
      CDManagerPlugin.instance.eject();
   }
        Menu.Top["$$Video"].ejectMenu.handler = function() {
      CDManagerPlugin.instance.eject();
   }
        Menu.Top["$$Photos"]["$$Local Drives"].ejectMenu.handler = function() {
      CDManagerPlugin.instance.eject();
   }
}
arifg
Developer
 
Posts: 25
Joined: Sun Aug 15, 2010 7:59 pm

Re: Plugin: CDManager (Update 09.19.2010)   

Postby b-rad.cc » Wed Oct 27, 2010 9:37 am

i've integrated the disc eject button bit from this into wdlxtv-live. :)

the disc monitor is not necessary anymore as I've fixed cd-manager to do all the loading automagically

enhancements i made:
- eject button is hidden when booted with no optical drive
- /conf/config:CDMANAGER_LEVEL key to set eject button level to main category level or inside local folders

thanks arifg.
PM's are for private matters only, please post public matters on the forum to help others who might have the same issue.
:mrgreen:
User avatar
b-rad.cc
WDLXTV Team
 
Posts: 3002
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: Plugin: CDManager (Update 09.19.2010)   

Postby ucevik » Thu Oct 28, 2010 2:00 am

I wander if it is possible to play a DVD movie full screen rather than in 4:3 format? When I play such a movie from an ISO file (from hard disk), it is shown full screen; but when I do it from a DVD disc it is shown in 4:3 (black strips on the sides).

EDIT: :idea: I have found out that if a DVD movie had been recorded in 16:9, it is shown in full screen regardless of the playing source.
ucevik
n00b
 
Posts: 13
Joined: Mon Oct 25, 2010 6:01 am

Re: Plugin: CDManager (Update 09.19.2010)   

Postby arifg » Sat Oct 30, 2010 4:35 pm

b-rad.cc wrote:i've integrated the disc eject button bit from this into wdlxtv-live. :)
the disc monitor is not necessary anymore as I've fixed cd-manager to do all the loading automagically


Oh cool! What release of firmware it it would be implemented in?
arifg
Developer
 
Posts: 25
Joined: Sun Aug 15, 2010 7:59 pm

Re: Plugin: CDManager (Update 09.19.2010)   

Postby stanelie » Tue Nov 09, 2010 7:26 pm

Hello.

It's not going so well for me. I can see the eject button under the "local drive" menu, but it does not work. Also, if I try to list the files on the drive, I get a "no files found" error message.

However, if I use the USMP media server instead, I can go to "optical drive" and browse my DVD. The eject button also works once.

The USMP is very flaky with my DVD drive, it will only list the content of the drive if I reboot with a drive inserted. But this is still better then the CDManager plugin.

Any ideas?
stanelie
WDTVer
 
Posts: 20
Joined: Tue Nov 09, 2010 7:22 pm

Re: Plugin: CDManager (Update 09.19.2010)   

Postby recliq » Wed Nov 10, 2010 5:13 am

wdxltv version?
­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: 5024
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: Plugin: CDManager (Update 09.19.2010)   

Postby stanelie » Wed Nov 10, 2010 3:49 pm

The SSH welcome banner says : 1.02.21_WDLXTV.COM_WDLXTV_LIVE-0.4.3.1
stanelie
WDTVer
 
Posts: 20
Joined: Tue Nov 09, 2010 7:22 pm

Re: Plugin: CDManager (Update 09.19.2010)   

Postby arifg » Wed Nov 10, 2010 11:07 pm

stanelie wrote:Any ideas?


Telnet to the box and execute the commands:

Code: Select all
cat /proc/sys/dev/cdrom/info


Code: Select all
cat /proc/sys/dev/cdrom/info | grep "drive name" | cut -f3


Tell me what they will return back.
arifg
Developer
 
Posts: 25
Joined: Sun Aug 15, 2010 7:59 pm

Re: Plugin: CDManager (Update 09.19.2010)   

Postby stanelie » Sat Nov 13, 2010 8:18 am

Hello.

Here is the info :

Code: Select all
# cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:             sr0
drive speed:            24
drive # of slots:       1
Can close tray:         1
Can open tray:          1
Can lock tray:          1
Can change speed:       1
Can select disk:        0
Can read multisession:  1
Can read MCN:           1
Reports media changed:  1
Can play audio:         1
Can write CD-R:         1
Can write CD-RW:        1
Can read DVD:           1
Can write DVD-R:        1
Can write DVD-RAM:      0
Can read MRW:           0
Can write MRW:          0
Can write RAM:          1


Code: Select all
# cat /proc/sys/dev/cdrom/info | grep "drive name" | cut -f3
sr0
stanelie
WDTVer
 
Posts: 20
Joined: Tue Nov 09, 2010 7:22 pm

Re: Plugin: CDManager (Update 09.19.2010)   

Postby stanelie » Sun Dec 12, 2010 5:23 pm

Anyone?
stanelie
WDTVer
 
Posts: 20
Joined: Tue Nov 09, 2010 7:22 pm

Previous

Return to WDTVExt plugins

Who is online

Users browsing this forum: No registered users and 1 guest