Lan plugin does not play a specific streaming music

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Dr.Zoydberg
Junior Member
Junior Member
Posts: 9
Joined: 2014-03-08, 11:58 UTC

Lan plugin does not play a specific streaming music

Post by *Dr.Zoydberg »

Lan plugin does not play a specific streaming music (i/o error), not a playable file attached. Part of the music is playing, the other part does not play, what's the problem?

Total Commander 2.04, Lan Plugin 2.06, Android 2.3.5

rghost_.ru/52909073

sorry my english

p.s.

antispam system is crazy %)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It could be the encoding - the standard Android player control does not support all formats, and the supported formats depend a lot on the Android version:
http://developer.android.com/guide/appendix/media-formats.html
Author of Total Commander
https://www.ghisler.com
Dr.Zoydberg
Junior Member
Junior Member
Posts: 9
Joined: 2014-03-08, 11:58 UTC

Post by *Dr.Zoydberg »

hm: \

from sd memory card with this music file TC music player plays correctly, through the LAN plug an error "i / o error", other music files (similar except for the attached file) is played correctly from LAN :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Strange - two possible problems:
1. Strange characters in the file name/problems with Cyrillic? Try to rename the file to something simple like test.mp3
2. File permissions: Can you copy the file to the device? Or do you get an error too?
Author of Total Commander
https://www.ghisler.com
Dr.Zoydberg
Junior Member
Junior Member
Posts: 9
Joined: 2014-03-08, 11:58 UTC

Post by *Dr.Zoydberg »

1. filename and path on english -
NAS - ///LAN/192.168.1.1/DISK_A1/Data/test/music/123.mp3
PC - ///LAN/192.168.1.15/d$/test/123.mp3

2.I have no problem copying a file from PC and NAS on smartphone. After copying, TC player plays the file locally, via LAN this file will not play: (
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Strange, copying and playing use the same SMB functions to get the file. Are you using TC's internal player, or a third party player like VLC?
Author of Total Commander
https://www.ghisler.com
User avatar
matixx
Power Member
Power Member
Posts: 1117
Joined: 2003-03-21, 02:37 UTC
Location: ....

Post by *matixx »

Ich kann das bestätigen..manche MP3 auf einer W7 Netzwerkfreigabe werden nicht gespielt und mit IO-Error quittiert. Diesselbe Datei local auf dem Phone wird gespielt nachdem sie ohne Probleme kopiert werden konnte.

Wenn mehr Informationen notwendig sind bitte fragen.

Gruss maat
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ist irgend etwas anders an den Dateien, die sich nicht abspielen lassen? Irgend einen Grund muss es ja geben, wieso gewisse Dateien gehen und andere nicht...
Author of Total Commander
https://www.ghisler.com
Dr.Zoydberg
Junior Member
Junior Member
Posts: 9
Joined: 2014-03-08, 11:58 UTC

Post by *Dr.Zoydberg »

Strange, copying and playing use the same SMB functions to get the file. Are you using TC's internal player, or a third party player like VLC?
I used to play this file (and other similar files) BSPlayer Free, no problems with playback via LAN.

TC Player started to play some files via LAN after renaming, rename these files but does not bring results

upd:

BSPlayer plays problematic files direct LAN links, for example: smb://192.168.1.15/d$/test/123.mp3 and even sent links of Total Commander (!), for example: http://127.0.0.1:<random port>/<name of the connection to the LAN plugin Total Commander>/d$/test/123.mp3
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2Dr.Zoydberg
Are you sure you are using my LAN plugin and not an smb file system redirector?
Author of Total Commander
https://www.ghisler.com
Dr.Zoydberg
Junior Member
Junior Member
Posts: 9
Joined: 2014-03-08, 11:58 UTC

Post by *Dr.Zoydberg »

ghisler(Author) wrote:2Dr.Zoydberg
Are you sure you are using my LAN plugin and not an smb file system redirector?
I used only your plugin to play media files. Also, I send music files in BSPlayer from a menu Total Commander

***

I installed http-server on the PC and created a playlist with normal and problematic music files, normal files be played normally :-D problematic files do not play yet again - Total Commander shows an error "Error sending data to media player. Connection reset by peer"

***

I compared the files - the "problem" files - with a constant bit rate (CBR), "normal" - variable bit rate (VBR)

***

I repeat, locally with SD-card, all the music files played with no problems
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Are the problematic and the good files using the same format, e.g. both mp3? Or is one AAC or AC3?
Author of Total Commander
https://www.ghisler.com
Dr.Zoydberg
Junior Member
Junior Member
Posts: 9
Joined: 2014-03-08, 11:58 UTC

Post by *Dr.Zoydberg »

only mp3, aac and ac3 I have not tested
Dr.Zoydberg
Junior Member
Junior Member
Posts: 9
Joined: 2014-03-08, 11:58 UTC

Post by *Dr.Zoydberg »

I solved the problem for myself, i used cifsmanager to mount network folder as a local folder.

All problems with playback of all music files over LAN solved :)

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

Post by *ghisler(Author) »

Maybe the Android MediaPlayer control itself cannot stream these files? Have you tried to stream them via HTTP?
Author of Total Commander
https://www.ghisler.com
Post Reply