It says:
Code: Select all
ERRO (19:36:56.332) FlagView\FlagView.ini: ImageName: Unable to open: B:\Data Empire\Afbeeldingen\Flags\ico\Croatia.ico
Code: Select all
ERRO (19:38:55.453) FlagView\FlagView.ini: ImageName: Unable to open: A:\Croatia.ico
Code: Select all
ERRO (19:36:56.332) FlagView\FlagView.ini: ImageName: Unable to open: B:\Data Empire\Afbeeldingen\Flags\ico\Croatia.ico
Code: Select all
ERRO (19:38:55.453) FlagView\FlagView.ini: ImageName: Unable to open: A:\Croatia.ico
In this case, let's see how the Image meter works with a well specified file name. Replace the MeasureName option of the [MeterImage] meter with ImageName=A:\Croatia.ico (or ImageName=B:\Data Empire\Afbeeldingen\Flags\ico\Croatia.ico, or the appropriate path). When you refresh the skin, the image should have to appear instantly. Does it?Nachtschade wrote:Ah, I wasn't aware of the log feature.
It says:
Tried to simplify the path, still the same:Code: Select all
ERRO (19:36:56.332) FlagView\FlagView.ini: ImageName: Unable to open: B:\Data Empire\Afbeeldingen\Flags\ico\Croatia.ico
Code: Select all
ERRO (19:38:55.453) FlagView\FlagView.ini: ImageName: Unable to open: A:\Croatia.ico
Code: Select all
MeasureName=ImageName=A:\Croatia.ico
With no error.NOTE (20:34:00.015) FlagView\FlagView.ini: Refreshing skin
Code: Select all
ImageName=A:\Croatia.ico
Code: Select all
MeasureName=ImageName=A:\Croatia.ico
Code: Select all
ERRO (22:00:22.329) FlagView\FlagView.ini: ImageName: Unable to open: A:\Croatia.ico
NOTE (22:00:22.880) FlagView\FlagView.ini: Refreshing skin
ERRO (22:00:22.882) FlagView\FlagView.ini: ImageName: Unable to open: A:\Portable Apps\Rainmeter\Skins\FlagView\MeasurePath.png
Code: Select all
ERRO (23:04:16.350) FlagView\FlagView.ini: ImageName: Unable to open: A:\Croatia.ico
Code: Select all
' OutputFlagFile.vbs
' Write the current playing track and artist to a text file
option explicit
sub OutputFlagFile
dim objFSO, objTextFile, strTextFilePath, strTrack, strArtist, strCustom1
'SET THIS TO LOCATION OF FILE
strTextFilePath = "A:\Portable Apps\MediaMonkey\npcountryflag.txt"
'Get the artist/track
strTrack = SDB.Player.CurrentSong.Title
strArtist = SDB.Player.CurrentSong.Artist.Name
strCustom1 = SDB.Player.CurrentSong.Custom1
'Open the file & write
Set objFSO = CreateObject("Scripting.FileSystemObject")
If (objfso.FileExists(strTextFilePath)) Then
Set objTextFile = objFSO.OpenTextFile(strTextFilePath,2)
Else
Set objTextFile = objFSO.CreateTextFile(strTextFilePath,2)
End If
On Error Resume Next
If strArtist = "" Then
objTextFile.WriteLine ""
Else
objTextFile.WriteLine "B:\Data Empire\Afbeeldingen\Flags\ico\" & strCustom1 &
".ico"
End If
If Err.Number <> 0 Then
objTextFile.WriteLine "Error: Unicode Text"
Err.Clear
End If
'close the file
objTextFile.Close
end sub
and the second version gives this error:ERRO (00:48:01.867) FlagView\FlagView.ini: ImageName: Unable to open: B:\Data Empire\Afbeeldingen\Flags\ico\Montenegro.ico
Now, like I said earlier; when creating a new .txt file from scratch and adding the path to the image to it it works fine. So it has to have something to do with the MM script that writes the .txt file.ERRO (00:47:59.371) FlagView\FlagView.ini: ImageName: Unable to open: A:\Portable Apps\Rainmeter\Skins\FlagView\��B.png