USB Drive
#1
Is there a way to add a Menu item to the Main Menu for USB drives

Like the PLAY DVD in the Main Menu

What I have found is
add a item to the home.XML

<item id="100">
<label>USB DRIVE</label>
<onclick>ActivateWindow(10025,&quot;*********&quotWink</onclick>
<icon>-</icon>
<thumb>-</thumb>
<visible>********</visible>
</item>

dont Know what to put in the *********
Reply
#2
I guess you could do a custom playlist based on the rule 'path contains' and then link it through favourites to a custom home button. Knowing the problem of assigned drive letters (windows plays musical chairs with the letters, depending) I would definitely manually assign the drive letter down the alphabet chain, and the clean-up command could be a disaster if the path moves around. You might also investigate the 'Nodes' feature, it might be possible to set up a specific node for an external.

This feature has been asked for previously, and there are work arounds. I'm unsure of it's applicability to Gotham, but at least you have a starting point.
Reply
#3
Thanks

I have this work round to find a drive letter base on it USB Name

Function Get_Drive_Letter(CheckName)
strComputer = "."
Get_Drive_Letter = ""
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colComputer = objWMIService.ExecQuery _
("Select * from Win32_ComputerSystem")
Set FSO = CreateObject("Scripting.FileSystemObject")
Set Drives = FSO.Drives
For Each DiskDrive In Drives
If DiskDrive.IsReady Then
If UCase(Trim(CheckName)) = UCase(Trim(DiskDrive.VolumeName)) Then
'MsgBox (DiskDrive.driveletter & ":" & DiskDrive.VolumeName)
Get_Drive_Letter = DiskDrive.driveletter & ":"
Exit For
Else
Get_Drive_Letter = ""
End If
End If
Next
End Function

I use it to import my Photos from my camera
Reply
#4
I really like that, I find that optical drives are quite redundant - I move nearly all my content straight onto HDDs as it's easier. I would love to see 'Play' support built in as standard for USB drives - it might already be there somewhere.
Please read the online manual (wiki) & FAQ (wiki) before posting.

Skins: Estuary | Xperience1080
Opinion: Never purchase HTC products
Reply

Logout Mark Read Team Forum Stats Members Help
USB Drive0