[Fixed] [Bug] SMB shows "Can't play this link" if the passport has an "@" char

Search This thread

PillarsZhang

Member
Oct 16, 2016
8
0
[Fixed] [Bug] SMB shows "Can't play this link" if the passport has an "@" char

Update:It happens when the account or passport has an "@" char.

When I use the built-in SMB service of Windows 10 2004 to share files, MX Player can view the file directory normally, but when I open any video file, I get the error "Can't play this link".
But in the CX file manager, I can normally transfer files and play videos, so I think the problem should be the MX Player.

This is part of the crawled log:

Code:
05-31 13:13:16.622 21170 21170 V MX.Screen: onStart (com.mxtech.videoplayer.pro.ActivityScreen@f78ca34): video-uri=smb://192.168.2.131/SanDisk_SSD_SMB/example.mp4
05-31 13:13:16.623 21170 21170 I GAPolicy_GAv4: suppress screen: Playback
05-31 13:13:16.624 21170 21170 V MX.DeviceUtils: Brightness for com.android.internal.policy.MiuiPhoneWindow@f15af20: -1.0 --> 0.7742498
05-31 13:13:16.625 21170 21170 V MX.Screen: onResume (com.mxtech.videoplayer.pro.ActivityScreen@f78ca34): uri=smb://192.168.2.131/SanDisk_SSD_SMB/example.mp4
05-31 13:13:16.631 21170 21170 V MX.Screen: screen---refreshNotchLayout----------1
05-31 13:13:16.654 21170 21170 D MX.Screen: === Enter surfaceCreated. holder=android.view.SurfaceView$4@10949e4 _surfaceHolderCreated=null_surfaceView=android.view.SurfaceView{fd01e4d V.E...... ......ID 0,0-1080,2340 #7f0a0403 app:id/surfaceView}
05-31 13:13:16.654 21170 21170 D MX.Screen: === Leave surfaceCreated.
05-31 13:13:16.660 21170 21170 V MX.PlayService: onCreate
05-31 13:13:16.716 21170 21170 V MX.Screen: screen---refreshNotchLayout---------0
05-31 13:13:16.720 21170 21170 D MX.Player.Builtin: Calibrating 0ms
05-31 13:13:16.734 21170 21170 W VideoCapabilities: Unsupported mime image/vnd.android.heic
05-31 13:13:16.736 21170 21170 W VideoCapabilities: Unsupported mime video/divx
05-31 13:13:16.736 21170 21170 W VideoCapabilities: Unsupported mime video/divx4
05-31 13:13:16.737 21170 21170 W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
05-31 13:13:16.737 21170 21170 W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
05-31 13:13:16.737 21170 21170 W VideoCapabilities: Unsupported mime video/x-ms-wmv
05-31 13:13:16.752 21170 21170 E *MX.jni/CodecInfo: No matching codec for `video/divx`
05-31 13:13:16.752 21170 21170 E *MX.jni/CodecInfo: No matching codec for `video/divx4`
05-31 13:13:16.752 21170 21170 E *MX.jni/CodecInfo: No matching codec for `video/av01`
05-31 13:13:16.762 21170 21170 I MX.Player.Joint: Creating a joint player. [1]=r20@5461 [2]=com.mxtech.media.FFPlayer@ddfab86
05-31 13:13:16.762 21170 21170 W MediaPlayer: Use of stream types is deprecated for operations other than volume control
05-31 13:13:16.762 21170 21170 W MediaPlayer: See the documentation of setAudioStreamType() for what to use instead with android.media.AudioAttributes to qualify your playback use case
05-31 13:13:16.766 21170 21170 I MX.Player.Joint: Preparing [2]
05-31 13:13:16.766 21170 21170 D MX.Player.FF: PrepareAsync()
05-31 13:13:16.767 21170 21170 D MX.Screen: Set fullscreen = false
05-31 13:13:16.843 21170 21360 E *MX.FFmpeg: wait_for_reply failed. Session setup failed with (0xc000006d) STATUS_LOGON_FAILURE
05-31 13:13:16.869 21170 21360 E *MX.FFFormat: Failed to open 'smb://192.168.2.131/SanDisk_SSD_SMB/example.mp4'. status=-111
05-31 13:13:16.869 21170 21360 E *MX.FFReader: AVException caught. error=-111
05-31 13:13:16.870 21170 21170 E MX.Player.FF: Error (1,-111)
05-31 13:13:16.870 21170 21170 E MX.Player.Joint: [2] error: what=1 extra=-111
05-31 13:13:16.870 21170 21170 V MX.Player.FF: === Begin closing soft player
05-31 13:13:16.870 21170 21170 V MX.Player.FF: === End closing soft player
05-31 13:13:16.870 21170 21170 I MX.Player.Joint: Preparing [1]
05-31 13:13:16.870 21170 21170 D MX.Player.Builtin: PrepareAsync()
05-31 13:13:16.871 21170 21170 W MediaPlayer: Couldn't open smb://192.168.2.131/SanDisk_SSD_SMB/example.mp4
05-31 13:13:16.871 21170 21170 W MediaPlayer: java.io.FileNotFoundException: No content provider: smb://192.168.2.131/SanDisk_SSD_SMB/example.mp4
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1688)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1518)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1435)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at android.media.MediaPlayer.attemptDataSource(MediaPlayer.java:1159)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1117)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1155)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at r20.u(BuiltinPlayer.java:12)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at x20.G(JointPlayer.java:5)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at x20$f.b(JointPlayer.java:20)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at com.mxtech.media.FFPlayer.handleMessage(FFPlayer.java:33)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at android.os.Handler.dispatchMessage(Handler.java:103)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at android.os.Looper.loop(Looper.java:224)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at android.app.ActivityThread.main(ActivityThread.java:7520)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at java.lang.reflect.Method.invoke(Native Method)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
05-31 13:13:16.871 21170 21170 W MediaPlayer: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
05-31 13:13:16.884 21170 21189 E MediaPlayerNative: error (1, -2147483648)
05-31 13:13:16.884 21170 21170 E MediaPlayer: Error (1,-2147483648)
05-31 13:13:16.885 21170 21170 E MX.Player.Joint: [1] error: what=1 extra=-2147483648
05-31 13:13:16.885 21170 21170 W MX.Screen: i0$a@17afa12
05-31 13:13:18.195 21170 21231 D OpenGLRenderer: endAllActiveAnimators on 0x74bb917100 (RippleDrawable) with handle 0x745ab22f20
05-31 13:13:18.207 21170 21170 V MX.Screen: Activity result: Result is not returned because 'return_result' extra was not set.
05-31 13:13:18.223 21170 21170 V MX.Screen: onPause (com.mxtech.videoplayer.pro.ActivityScreen@f78ca34): uri=smb://192.168.2.131/SanDisk_SSD_SMB/example.mp4
05-31 13:13:18.755 21170 21170 D MX.Screen: === Enter surfaceDestroyed. holder=android.view.SurfaceView$4@10949e4 _surfaceHolderCreated=android.view.SurfaceView$4@10949e4_surfaceView=android.view.SurfaceView{fd01e4d V.E...... ........ 0,0-1080,2340 #7f0a0403 app:id/surfaceView}
05-31 13:13:18.756 21170 21170 D MX.Screen: === Leave surfaceDestroyed.
05-31 13:13:18.786 21170 21170 V MX.Screen: onStop (com.mxtech.videoplayer.pro.ActivityScreen@f78ca34): uri=smb://192.168.2.131/SanDisk_SSD_SMB/example.mp4
05-31 13:13:18.796 21170 21170 V MX.Screen: onDestroy (com.mxtech.videoplayer.pro.ActivityScreen@f78ca34) - isFinishing() = true
05-31 13:13:18.797 21170 21170 V MX.Player.Builtin: === Begin closing built-in player
05-31 13:13:18.797 21170 21170 V MediaPlayer: resetDrmState:  mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false
05-31 13:13:18.797 21170 21170 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null
05-31 13:13:18.823 21170 21170 V MX.Player.Builtin: === End closing built-in player
 
Last edited:

PillarsZhang

Member
Oct 16, 2016
8
0
i have met the same problem while use smbv3 and the username have an "@".

smbv2 works well in most situtation expect the filename are not simple.

Thank you for your reply.
I found that everything was normal after I deleted the "@" in my password. . .:)
This is really a bug worth fixing. Maybe encoding error?
 

Suar99

New member
Jun 8, 2020
3
0
Same problem with SMB can't play this link

I have 4 pc connected to same router. Each pc can acces each other. Also i can acces all pc smb via es-file explorer on my phone.

After connect to mx player ,,smb,, I can add smb server. Browse pc directory. But unable to play.
Can't play this link.

If i am using es file explorer to play media and use mx player as media player it's work fine.


Anyone please help how to play via smb directly on mx player. So i can play video music minimized via local network .
 

PillarsZhang

Member
Oct 16, 2016
8
0
I have 4 pc connected to same router. Each pc can acces each other. Also i can acces all pc smb via es-file explorer on my phone.

After connect to mx player ,,smb,, I can add smb server. Browse pc directory. But unable to play.
Can't play this link.

If i am using es file explorer to play media and use mx player as media player it's work fine.


Anyone please help how to play via smb directly on mx player. So i can play video music minimized via local network .

Are there any special characters in your account and password? Or try to simplify your file path.

P.s. : We need an effective ways to communicate with the developer.:crying: Especially for pro version users.
 

MXPlayer

Senior Member
Nov 3, 2015
454
128
mx.j2inter.com
I think mx player dev should implement more advance smb v2 + support

We would like to let you know that MX Player already supports SMBv2+. In case if you are facing any issues, please collect a bug report quickly after reproducing the issues and share with us. It will help us to investigate further.

i have met the same problem while use smbv3 and the username have an "@".

smbv2 works well in most situtation expect the filename are not simple.

Thanks for bringing this into our notice. We have escalated this with our relevant team and will do our best to get it resolved at the earliest. Meanwhile, your patience is appreciated.
 
  • Like
Reactions: PillarsZhang

powerxing

Member
Jun 24, 2020
7
1
[BUG Report]About Local Network function

Thank you for MX player, I found 4 bugs in SMB(Local Network) function:

1. In versions after 1.24.4 (excluding 1.24.4), When I add my SMB server in "Local Network", If the username or password contains special characters (such as $), you can browse smb files but can't play it, and the prompt:"can't play this link".

2. In all versions with smb (including 1.24.4), When playing music in the SMB, if the mx player is switched to the background, when the current music is played and auto switched to the next music, it will can't play, and the prompt:"can't play this link".

3. In version 1.24.5 pro, I added an smb server in "Local Network", When I leave the "Local Network" or close the mx player pro, and then enter the "Local Network", the added SMB server will disappear.

4. On the Android TV platform, the left sidebar is automatically hidden, so I can't access the "Local Network".
 
Last edited:
  • Like
Reactions: clavelm80

powerxing

Member
Jun 24, 2020
7
1
We would like to let you know that MX Player already supports SMBv2+. In case if you are facing any issues, please collect a bug report quickly after reproducing the issues and share with us. It will help us to investigate further.



Thanks for bringing this into our notice. We have escalated this with our relevant team and will do our best to get it resolved at the earliest. Meanwhile, your patience is appreciated.

I have met the same problem while the username or password have char '$'
h**ps://xdaforums.com/apps/mx-player/bug-report-local-network-function-t4122247
 

PillarsZhang

Member
Oct 16, 2016
8
0
@PillarsZhang @il1707 @Suar99 @powerxing
We have released a quick update that addresses your issues. Could you please update your MX Player to 1.25.5 and check again? In case if the update is not yet showing up for you, you can also download the same from our website http://apps.mxplayer.in/download or http://mx.j2inter.com/download and install manually.

Thanks a lot. I just downloaded and tested it. The problem (char "@") has been fixed well. :eek:
Waiting for the pro version.
 
Last edited:

powerxing

Member
Jun 24, 2020
7
1
@PillarsZhang @il1707 @Suar99 @powerxing
We have released a quick update that addresses your issues. Could you please update your MX Player to 1.25.5 and check again? In case if the update is not yet showing up for you, you can also download the same from our website http://apps.mxplayer.in/download or http://mx.j2inter.com/download and install manually.

I tested version mx player 1.26.0, the bug "special char (such as '$'.'@') can't play" still exists, but In Version MX Player PRO 1.25.5, this bug fixed, thank you.

The following bugs still exist:

1. When playing music in the SMB, I have to keep the player running in the foreground to continue playing the next music. If I switch the player to the background, when the current music is played and automatically switched to the next music, it will can't play, now I switch back to foreground, the player prompt:"can't play this link", I click 'ok' to play.

2. On the Android TV platform, the left sidebar button is hidden, so I can't access the "Local Network". Recommend: add an "Local Network" entry item in the upper right menu.
 
Last edited:

PillarsZhang

Member
Oct 16, 2016
8
0
I tested version mx player 1.26.0, the bugs still exists, thank you

Thank you for MX player, I found 4 bugs in SMB(Local Network) function:

1. In versions after 1.24.4 (excluding 1.24.4), When I add my SMB server in "Local Network", If the username or password contains special characters (such as $), you can browse smb files but can't play it, and the prompt:"can't play this link".

2. In all versions with smb (including 1.24.4), When playing music in the SMB, if the mx player is switched to the background, when the current music is played and auto switched to the next music, it will can't play, and the prompt:"can't play this link".

3. In version 1.24.5 pro, I added an smb server in "Local Network", When I leave the "Local Network" or close the mx player pro, and then enter the "Local Network", the added SMB server will disappear.

4. On the Android TV platform, the left sidebar is automatically hidden, so I can't access the "Local Network".

In my actual tests, bug 1 and 2 were fixed in the new version, and bug 3 even didn't show up in 1.24.5.
My device: Xiaomi Mi 9 with MIUI 12, MX Player Pro 1.25.5, using the Windows 10 2004 default SMB server.
Because I don't have an Android TV platform, I can't test for Bug 4. Maybe you can submit a new thread about left sidebar. :)
 

powerxing

Member
Jun 24, 2020
7
1
In my actual tests, bug 1 and 2 were fixed in the new version, and bug 3 even didn't show up in 1.24.5.
My device: Xiaomi Mi 9 with MIUI 12, MX Player Pro 1.25.5, using the Windows 10 2004 default SMB server.
Because I don't have an Android TV platform, I can't test for Bug 4. Maybe you can submit a new thread about left sidebar. :)

My device: Xiaomi MAX2 with MIUI9.5 (Android 7.1.1), SMB server is Win10 LTSC(opened smb1.x/cifs), In Version Pro 1.25.5, bug 1 & 3 fixed,
about bug 2: I have to keep the player running in the foreground to continue playing the next music. If I switch the player to the background, when the current music is played and automatically switched to the next music, it will can't play, now I switch back to foreground, the player prompt:"can't play this link", I click 'ok' to play.
 

PillarsZhang

Member
Oct 16, 2016
8
0
My device: Xiaomi MAX2 with MIUI9.5 (Android 7.1.1), SMB server is Win10 LTSC(opened smb1.x/cifs), In Version Pro 1.25.5, bug 1 & 3 fixed,
about bug 2: I have to keep the player running in the foreground to continue playing the next music. If I switch the player to the background, when the current music is played and automatically switched to the next music, it will can't play, now I switch back to foreground, the player prompt:"can't play this link", I click 'ok' to play.

Yes, you're right. I tried it again as you said: when playing the music on SMB, automatically switch is invalid, the next music button in the status bar is also invalid.
 

Postscripter

Member
Dec 16, 2018
5
1
Seems to have nothing to do with "#".

Anyway. The log-in procedure is to blame:

oY08pF_86nM.jpg

8hAdZCj61jg.jpg
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    i have met the same problem while use smbv3 and the username have an "@".

    smbv2 works well in most situtation expect the filename are not simple.
    1
    I think mx player dev should implement more advance smb v2 + support

    We would like to let you know that MX Player already supports SMBv2+. In case if you are facing any issues, please collect a bug report quickly after reproducing the issues and share with us. It will help us to investigate further.

    i have met the same problem while use smbv3 and the username have an "@".

    smbv2 works well in most situtation expect the filename are not simple.

    Thanks for bringing this into our notice. We have escalated this with our relevant team and will do our best to get it resolved at the earliest. Meanwhile, your patience is appreciated.
    1
    [BUG Report]About Local Network function

    Thank you for MX player, I found 4 bugs in SMB(Local Network) function:

    1. In versions after 1.24.4 (excluding 1.24.4), When I add my SMB server in "Local Network", If the username or password contains special characters (such as $), you can browse smb files but can't play it, and the prompt:"can't play this link".

    2. In all versions with smb (including 1.24.4), When playing music in the SMB, if the mx player is switched to the background, when the current music is played and auto switched to the next music, it will can't play, and the prompt:"can't play this link".

    3. In version 1.24.5 pro, I added an smb server in "Local Network", When I leave the "Local Network" or close the mx player pro, and then enter the "Local Network", the added SMB server will disappear.

    4. On the Android TV platform, the left sidebar is automatically hidden, so I can't access the "Local Network".
    1
    @PillarsZhang @il1707 @Suar99 @powerxing
    We have released a quick update that addresses your issues. Could you please update your MX Player to 1.25.5 and check again? In case if the update is not yet showing up for you, you can also download the same from our website http://apps.mxplayer.in/download or http://mx.j2inter.com/download and install manually.
    1
    Thanks a lot. I just downloaded and tested it. The problem (char "@") has been fixed well. :eek:
    Waiting for the pro version.

    Thanks for the heads up :)
    We have updated the pro version download links. Please check again now.