Page 1 of 1
::#523; echo property("Type") return blank
Posted: 17 Dec 2014 13:34
by binocular222
Re: ::#523; echo property("Type") return blank
Posted: 17 Dec 2014 14:15
by klownboy
Could it be a language issue? Your code line works fine for me (i.e., going back will yield a prop type of "File folder"). If I leave out the #523, the return seems to be correct (i.e., Image file, Notepad++ Document, etc.).
Re: ::#523; echo property("Type") return blank
Posted: 17 Dec 2014 15:01
by binocular222
Correct! It's due to I set regional & Language to Vietnamese
Re: ::#523; echo property("Type") return blank
Posted: 17 Dec 2014 15:05
by admin
This should work independent of the locale:
Re: ::#523; echo property("Type") return blank
Posted: 17 Dec 2014 15:08
by binocular222
btw, these are screwed by regional and language too:
#mp3.artist
#mp3.genre
#mp3.title
This return xxGB instead of "Local Disk"
Re: ::#523; echo property("Type") return blank
Posted: 17 Dec 2014 15:25
by admin
1) What happens?
2) Yes, in Drives mode the indices are different.
Re: ::#523; echo property("Type") return blank
Posted: 17 Dec 2014 16:34
by binocular222
1) Regional = English:
#mp3.artist = Cool
#mp3.genre = Blues
#mp3.title = Aloha
Regional = Vietnamese:
#mp3.artist = ÿ₫C
#mp3.genre = ÿ₫B
#mp3.title = ÿ₫A
2) what's the indice number?
Re: ::#523; echo property("Type") return blank
Posted: 17 Dec 2014 17:27
by bdeshi
binocular222 wrote:
This return xxGB instead of "Local Disk"
admin wrote:2) Yes, in Drives mode the indices are different.
binocular222 wrote:2) what's the indice number?
/*in Drives mode*/ property("#1","<curitem>"); //"Local Disk"
Re: ::#523; echo property("Type") return blank
Posted: 17 Dec 2014 20:04
by admin
binocular222 wrote:1) Regional = English:
#mp3.artist = Cool
#mp3.genre = Blues
#mp3.title = Aloha
Regional = Vietnamese:
#mp3.artist = ÿ₫C
#mp3.genre = ÿ₫B
#mp3.title = ÿ₫A
Do you get the same in the Preview tab for mp3s?
And in File | Rename Special | MP3 Special?
Re: ::#523; echo property("Type") return blank
Posted: 18 Dec 2014 17:18
by binocular222
Yes, I see the same in Preview and Rename MP3 Special
Re: ::#523; echo property("Type") return blank
Posted: 18 Dec 2014 17:29
by admin
Does this happen with all mp3 files?
Re: ::#523; echo property("Type") return blank
Posted: 18 Dec 2014 17:40
by binocular222
No, but most files get this error
See a sample file here:
http://www.mediafire.com/listen/szj5gmt ... /Aloha.mp3
Re: ::#523; echo property("Type") return blank
Posted: 18 Dec 2014 18:27
by admin
Thanks. Very difficult to debug and fix. I won't time for it very soon.