Sunday, July 18, 2010

Media Browser and Media Center cannot open file error playing movies

What fixed this for me was going into the Media Browser configuration tool and clicking advanced, and then cache. Clearing the items cache fixed the problem.

Also, depending on the types of files you are attempting to play it could be a codec issue. A good solution to this is the Shark007 codec pack. Here's a link for Windows 7. Scroll to the bottom and you will see the download link to 'Major Geeks'.

Saturday, July 17, 2010

Media Browser - file cannot be found error when trying to play MKV files

Here is the solution to the problem I found:
1) Install this Divx Codec Plus pack
2) Install AC3Filter

Now my MKV files play and I can hear them. Without the AC3Filter I had no audio. I am getting choppy playback though so I don't know where to point the finger for that problem. Is it my network or is it a codec issue?

Tuesday, July 13, 2010

Movie Backdrops cleanup tool (for use with Media Browser)

I made a tool with the help of BAS Concepts that allows one to view all their backdrops, delete the one's they do not want, and have them auto renamed so they cycle properly in Media Browser. Check it out if you have been looking for a tool like this. It can be downloaded here.

Tuesday, May 18, 2010

Reset Internet Explorer windows when opening a new window

It's an annoying problem. IE gets set to open in a tiny window or something and you cannot seem to get it to stop. Here are some instructions that might help:
1) close all IE windows except one.
2) right click a link on the webpage and select 'open in new window'.
3) close the first IE window you had open.
4) resize the existing window to a size you like
5) hold down the control key and click the X in the upper right corner to close

Now open a IE session and the window should be the new size

Monday, May 17, 2010

FL Studio - Recording MIDI to piano roll

I was able to record to the step sequencer but I could not record while in song mode to the piano roll. I read over guides and thought I was doing everything right. I found the problem. On the Options>Midi menu I had the box at the bottom 'record to step sequencer' selected. Once I deselected that, I could record to the piano roll while in song mode.

Wednesday, April 21, 2010

VBScript tips - Recursive file search write results to file

This is much like the previous example, except in this script instead of echoing out the file names, we are going to write the files (and their paths) to a results file.

strFolder = "C:\dell"

Set objFSO = CreateObject("Scripting.FileSystemObject")

GetFiles strFolder

Sub GetFiles(byval strDirectory)

Set objFolder = objFSO.GetFolder(strDirectory)
For Each objFile in objFolder.Files
'Here specify the output file location and name ex: "C:\Dell Files.txt"
WriteToFile "C:\Dell Files.txt",objFile.Path
Next
For Each objFolder in objFolder.SubFolders
GetFiles objFolder.Path
Next
End Sub

Sub WriteToFile(strFilePath, strValue)

Const ForReading = 1
Const ForWriting = 2
Const ForAppending = 8

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile _
(strFilePath, ForAppending, True)
objTextFile.WriteLine strValue

End Sub

VBScript tips - Recursive file search

'Create the FileSystemObject
Set objFSO = Createobject("Scripting.FileSystemObject")

'Specify the folder that will be the root
strFolder = "C:\dell" 'using dell directory is just example

'This script is designed to run from the command line and will write out all files
'Here we call the subroutine
GetFiles strFolder

'Here is the sub
Sub GetFiles(ByVal strDirectory)
Set objFolder = objFSO.GetFolder(strDirectory)
'This gets the files from the root directory
For Each objFile in objFolder.Files
Wscript.Echo objFile.Path
Next
'This is the recursion - it gets all subfolders and files within
For Each objFolder in objFolder.SubFolders
GetFiles objFolder.Path
Next
End Sub

New beginner's guide to PowerShell on my GitHub page

 I created a beginner's guide to PowerShell here: https://github.com/aamjohns/Powershell_Guide/blob/main/README.md I hope it helps someo...