TC Player won't start if mp3 in direcory starting with #

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Riccardo
Member
Member
Posts: 123
Joined: 2003-02-16, 12:04 UTC

TC Player won't start if mp3 in direcory starting with #

Post by *Riccardo »

There is a problem playing song in a directory beginning with a number sign (#)

For instance: /storage/extSdCard/#Songs/Norah Jones/Lovesick Blues.mp3

The following error message will be shown:
"FileNotFoundException /storage/extSdCard: open faild: EISDIR (is a directory)"

Any Ideas?
(Well I know the best way is to change the directory name.)

Regards, Richard
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It could be that the Android media player cannot handle the special character #. Can you try the same on internal SD-Card, please?
Author of Total Commander
https://www.ghisler.com
Riccardo
Member
Member
Posts: 123
Joined: 2003-02-16, 12:04 UTC

Post by *Riccardo »

ghisler(Author) wrote:Can you try the same on internal SD-Card, please?
Well, I copy a mp3 File to: /storage/sdcard/#songs

Then I tried to start this song.

Same message: "FileNotFoundException /storage/sdcard: open faild: EISDIR (Is a directory)"

Playing the mp3 with MortPlayer, Winamp, VLC or internal Sound-Player works fine.

Regards, Richard
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, no idea - I will have to check this in the debugger. But I don't currently see any reason why it would fail.
Author of Total Commander
https://www.ghisler.com
Riccardo
Member
Member
Posts: 123
Joined: 2003-02-16, 12:04 UTC

Post by *Riccardo »

ghisler(Author) wrote:Sorry, no idea - I will have to check this in the debugger. But I don't currently see any reason why it would fail.
Tried today TC 4 Android 2.02beta2. That didn't solve the problem. :-(

Regard, Richard
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, your report was too late for beta 2, I released it on the same day as you sent the report.
Author of Total Commander
https://www.ghisler.com
Riccardo
Member
Member
Posts: 123
Joined: 2003-02-16, 12:04 UTC

Post by *Riccardo »

ghisler(Author) wrote:Sorry, your report was too late for beta 2, I released it on the same day as you sent the report.
Maybe beta 3 will it fix :wink:

Regards, Richard
Riccardo
Member
Member
Posts: 123
Joined: 2003-02-16, 12:04 UTC

Post by *Riccardo »

Beta 3 solves the problem!!

Thx
Richard
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, the problem was that the name is passed to the player as an URL, and the # sign has a special meaning in URLs.
Author of Total Commander
https://www.ghisler.com
Post Reply