Page 1 of 1
Lan plugin does not play a specific streaming music
Posted: 2014-03-10, 06:46 UTC
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 %)
Posted: 2014-03-10, 13:24 UTC
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
Posted: 2014-03-10, 14:05 UTC
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

Posted: 2014-03-11, 15:54 UTC
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?
Posted: 2014-03-16, 06:32 UTC
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: (
Posted: 2014-03-16, 10:11 UTC
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?
Posted: 2014-03-16, 13:02 UTC
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
Posted: 2014-03-17, 14:29 UTC
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...
Posted: 2014-03-17, 15:27 UTC
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
Posted: 2014-03-18, 16:51 UTC
by ghisler(Author)
2Dr.Zoydberg
Are you sure you are using my LAN plugin and not an smb file system redirector?
Posted: 2014-03-21, 06:10 UTC
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

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
Posted: 2014-03-21, 16:36 UTC
by ghisler(Author)
Are the problematic and the good files using the same format, e.g. both mp3? Or is one AAC or AC3?
Posted: 2014-03-21, 18:12 UTC
by Dr.Zoydberg
only mp3, aac and ac3 I have not tested
Posted: 2014-03-23, 10:19 UTC
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

Posted: 2014-03-24, 15:55 UTC
by ghisler(Author)
Maybe the Android MediaPlayer control itself cannot stream these files? Have you tried to stream them via HTTP?