[Feature Request] Change HTTP User-Agent - MX Player

Please, change the HTTP User-Agent to something less malware-like than a space.
MX Player would be fine or maybe just Linux/Android for some obscurity.
This could be easily done and it would prevent us getting blocked by some sites/CDNs and even false IDS alerts.

L1gh7n1ng said:
Please, change the HTTP User-Agent to something less malware-like than a space.
MX Player would be fine or maybe just Linux/Android for some obscurity.
This could be easily done and it would prevent us getting blocked by some sites/CDNs and even false IDS alerts.
Click to expand...
Click to collapse
MX Player uses Linux/Android style and MX Player/<version> style user agent.
But ads network may use different value. I will check it out.
Thanks

bleu8888 said:
MX Player uses Linux/Android style and MX Player/<version> style user agent.
But ads network may use different value. I will check it out.
Thanks
Click to expand...
Click to collapse
I don't think it's the ads network:
Code:
GET./480p/{file}.mp4.HTTP/1.1
.User-Agent:.
.Accept:.*/*
.Range:.bytes=36151293-
.Connection:.close
.Host:.{domain}
.Icy-MetaData:.1
I tap on a video link in the browser and open it in MX Player, so I'm not starting anything directly.
Also I don't think Chrome proxies the request (like ES File Exp.) but even if it does it would use it's own UA.
Thanks.

L1gh7n1ng said:
I don't think it's the ads network:
Code:
GET./480p/{file}.mp4.HTTP/1.1
.User-Agent:.
.Accept:.*/*
.Range:.bytes=36151293-
.Connection:.close
.Host:.{domain}
.Icy-MetaData:.1
I tap on a video link in the browser and open it in MX Player, so I'm not starting anything directly.
Also I don't think Chrome proxies the request (like ES File Exp.) but even if it does it would use it's own UA.
Thanks.
Click to expand...
Click to collapse
This might be fixed on latest test build:
https://sites.google.com/site/mxvpen/translation/test-build
Thanks

It's in the store. Thanks for making it customizable.

Related

URL-Link on the Desktop

Hi,
I want to have a link to a radiostation (sorry, I'm not allowed to post the URL, it is an mp3-file) on the desktop (homescreen) and when I klick on this link I want, that MX plays it. I can open this URL direct in MX, but I can not find how I can create such a link. Is this possible?
Thank you,
Magistus...
PS: Sorry for my bad english!
Magistus Obnoticus said:
Hi,
I want to have a link to a radiostation (sorry, I'm not allowed to post the URL, it is an mp3-file) on the desktop (homescreen) and when I klick on this link I want, that MX plays it. I can open this URL direct in MX, but I can not find how I can create such a link. Is this possible?
Thank you,
Magistus...
PS: Sorry for my bad english!
Click to expand...
Click to collapse
Unfortunately, MX Player doesn't have any desktop widgets.
However, you could probably simulate what you want by using Tasker and creating a Tasker process + widget, and using Tasker to access teh MX Player API (here: https://sites.google.com/site/mxvpen/api )
If MX Player is able to parse the link then it's likely able to be set as default for it, say if you'd be using the share button for it.
If you're able to open the link with MX Player, you could probably use a custom launcher to make the link a shortcut on your homescreen and use MX Player as default to open it.
I couldn't recommend you a specific launcher for this, I don't use one at the moment. 4 years ago I was doing something similar using LauncherPro, but I'm not sure that's maintained anymore. I'm sure many launchers have built off LauncherPro's source though so I'm sure there'll be a good, free launcher available that does this.

How can I save network stream URLs by name?

Is there a way I can save and play network stream URLs by name without entering the URLs in the network stream box with the keyboard any time?
Thanks!
Not from within MX Player but you may try using a file explorer to save the URLs in a folder.
luigig said:
Is there a way I can save and play network stream URLs by name without entering the URLs in the network stream box with the keyboard any time?
Thanks!
Click to expand...
Click to collapse
I was searching for an add-on or plugin for MX Player by way of trying to find a frontend to accomplish the same thing. I guess I was wishful thinking. Nevertheless, here's a link (replace the two $ signs with dots) to, copy and paste, of a post I made this morning providing a potentially extremely useful alternative: forums.androidcentral$com/samsung-galaxy-note-3/355922-how-can-i-save-network-streams-name-mx-player$html
luigig said:
Is there a way I can save and play network stream URLs by name without entering the URLs in the network stream box with the keyboard any time?
Thanks!
Click to expand...
Click to collapse
Currently history has very limited features but it will be improved in the future.
Network Stream History and Associated Enhancements
bleu8888 said:
Currently history has very limited features but it will be improved in the future.
Click to expand...
Click to collapse
Please consider implementing user adjustable settings for parameters related to streaming content such as cache size, buffer size, seconds to wait for connection time out, etc. The Android app from team48dreams has an internet radio section that can, handle pls, m3u, asf and perhaps other playlist formats for streaming media, for example.
thats would be really great - I miss this feature - thats the only reason why I use still VPlayer...
bleu8888 said:
Currently history has very limited features but it will be improved in the future.
Click to expand...
Click to collapse

[Feature Request] Play Stream with custom user agent

Hi everyone,
I am watching some streams which require custom http-user-agent. On Windows, using VLC I simply add http URL and with parameter ":http-user-agent=something" (without quotes) and it works. However I couldn't find this option in MX Player -neither on any other player-. Is that even possible?
Thanks
serji7 said:
Hi everyone,
I am watching some streams which require custom http-user-agent. On Windows, using VLC I simply add http URL and with parameter ":http-user-agent=something" (without quotes) and it works. However I couldn't find this option in MX Player -neither on any other player-. Is that even possible?
Thanks
Click to expand...
Click to collapse
This feature will be added in the future.
Thanks
Any news on this? I'd really like to play trailers from http://trailers.apple.com/
zAo_ said:
Any news on this? I'd really like to play trailers from http://trailers.apple.com/
Click to expand...
Click to collapse
A new option will be added under Settings > General > Http user agent for overriding default user agent.
That would be great ! Thank you very much!
bleu8888 said:
This feature will be added in the future.
Thanks
Click to expand...
Click to collapse
i heave try many user-agent but nothing i the latest update?!

[Q] [Feature Request] ROOT Access to browse system folders

Hey guys!! First of all I just want to thank the developer for doing such an amazing work building the best available video player on andoid, and for free. You rock!
I want to know if there could be a chance to take advantage of root access for being able to browse system folders (like “data”) when manually loading subtitles. In my case, the reason I need this feature is because I’m using MX as default player with Popcorn Time and this app, in my device, only works fine if it’s cache folder is setted to internal data folder (by default). So it downloads the video and subs into that folder, but the subtitles needs to be loaded manually on MX and obviously I can’t do it.
If you think there would be any other way to solve this I’d really apreciate the info.
Greetings to all and thanks in advance for the help!! (and sorry about my english...)
Mx already support root access.
warvevo said:
Mx already support root access.
Click to expand...
Click to collapse
Hey warvevo! Thanks for stopping by. I've tested latest nigthly build, activated root access but still can't browse system folders when loading subtitles. I think the only feature enabled is to read/write/delete on external SD cards. Maybe I'm wrong.
Thanks anyway!!
emacrack said:
Hey guys!! First of all I just want to thank the developer for doing such an amazing work building the best available video player on andoid, and for free. You rock!
I want to know if there could be a chance to take advantage of root access for being able to browse system folders (like “data”) when manually loading subtitles. In my case, the reason I need this feature is because I’m using MX as default player with Popcorn Time and this app, in my device, only works fine if it’s cache folder is setted to internal data folder (by default). So it downloads the video and subs into that folder, but the subtitles needs to be loaded manually on MX and obviously I can’t do it.
If you think there would be any other way to solve this I’d really apreciate the info.
Greetings to all and thanks in advance for the help!! (and sorry about my english...)
Click to expand...
Click to collapse
Will you save some video file in system folders?
I dont think its nessesary. Root access is for getting the avility to del or ren im kitkat.
warvevo said:
Mx already support root access.
Click to expand...
Click to collapse
He wants to browse system folders!
josuearisty said:
Will you save some video file in system folders?
I dont think its nessesary. Root access is for getting the avility to del or ren im kitkat.
He wants to browse system folders!
Click to expand...
Click to collapse
Hey @josuearisty!!
Like I wrote in my previous post, the reason I need this is because Popcorn Time, in my device, only works with default cache folder path which is "data/data/pct.droid/cache". It stores video and subs into that folder and while the video is sent automatically to MX with an http server, subs needs to be loaded manually so, if I'm not able to browse that folder I have to download them separately which is really annoing.
Thanks anyway for the info. :good:
emacrack said:
Hey @josuearisty!!
Like I wrote in my previous post, the reason I need this is because Popcorn Time, in my device, only works with default cache folder path which is "data/data/pct.droid/cache". It stores video and subs into that folder and while the video is sent automatically to MX with an http server, subs needs to be loaded manually so, if I'm not able to browse that folder I have to download them separately which is really annoing.
Thanks anyway for the info. :good:
Click to expand...
Click to collapse
Try adding folder manually.
Setting>list>scan(folders)
josuearisty said:
Try adding folder manually.
Setting>list>scan(folders)
Click to expand...
Click to collapse
Tried it. When I select data folder in browser, it doesn't get into it, in fact, It doesn't do anything... :crying:
Same thing as when I try to browse into that folder while loading subs. Like if the browser doesn't have root access.
emacrack said:
Tried it. When I select data folder in browser, it doesn't get into it, in fact, It doesn't do anything... :crying:
Same thing as when I try to browse into that folder while loading subs. Like if the browser doesn't have root access.
Click to expand...
Click to collapse
MX Player will ask root permissions only when it executes some editing operations (like delete, rename) in sdcard. It will not use it for folder selection activity.
ktsamy said:
MX Player will ask root permissions only when it executes some editing operations (like delete, rename) in sdcard. It will not use it for folder selection activity.
Click to expand...
Click to collapse
Hey @ktsamy! Exactly, and thats why I'm asking for this to be a feature for future releases. Hope it will!!
emacrack said:
Hey @ktsamy! Exactly, and thats why I'm asking for this to be a feature for future releases. Hope it will!!
Click to expand...
Click to collapse
If you add the entire root or data partition, it will impact media scanner's performance. So, It's not suitable for everyone. Only experienced users can make use of it. Better to have it as an optional.
Anyhow I will try to convey your request to the developer.
Sent from my SM-G900H
ktsamy said:
If you add the entire root or data partition, it will impact media scanner's performance. So, It's not suitable for everyone. Only experienced users can make use of it. Better to have it as an optional.
Anyhow I will try to convey your request to the developer.
Sent from my SM-G900H
Click to expand...
Click to collapse
Thank you so much @ktsamy!! I really only need this function in the browser that's called when loading subtitles as, for the video, Popcorn Time uses a stream which is automatically sent to the player. But I don't know if this needs to be "activated" on media scanner too. I mention it just in case.
Greetings and thanks again for your help!!
emacrack said:
Thank you so much @ktsamy!! I really only need this function in the browser that's called when loading subtitles as, for the video, Popcorn Time uses a stream which is automatically sent to the player. But I don't know if this needs to be "activated" on media scanner too. I mention it just in case.
Greetings and thanks again for your help!!
Click to expand...
Click to collapse
If you are streaming from external app, it's better to contact the application developer to use MX Player API to easily stream the subtitle together.
MX Player API documentation is available here
https://sites.google.com/site/mxvpen/api
ktsamy said:
If you are streaming from external app, it's better to contact the application developer to use MX Player API to easily stream the subtitle together.
MX Player API documentation is available here
https://sites.google.com/site/mxvpen/api
Click to expand...
Click to collapse
Thanks again for the info @ktsamy! I'll suggest this in PT forum. And just in case they can't do it, I'll wait for this feature.
Greetings!!
ktsamy said:
If you are streaming from external app, it's better to contact the application developer to use MX Player API to easily stream the subtitle together.
MX Player API documentation is available here
https://sites.google.com/site/mxvpen/api
Click to expand...
Click to collapse
Hey @ktsamy, how are you?? Just wanted to comment that they tried to use API but subtitles are not shown (GIT). Any tips to improve??
Thanks!!
emacrack said:
Hey @ktsamy, how are you?? Just wanted to comment that they tried to use API but subtitles are not shown (GIT). Any tips to improve??
Thanks!!
Click to expand...
Click to collapse
I am not the developer.
I will just forward this message to the developer.
emacrack said:
Hey @ktsamy, how are you?? Just wanted to comment that they tried to use API but subtitles are not shown (GIT). Any tips to improve??
Thanks!!
Click to expand...
Click to collapse
@emacrack Would you post logcat log after starting MX activity? MX leaves details on given extras.
bleu8888 said:
@emacrack Would you post logcat log after starting MX activity? MX leaves details on given extras.
Click to expand...
Click to collapse
Hey @bleu8888! Thanks for stopping by. You mean the Zip generated by MX on bug report?? If not, please, tell me how and I'll share it.
Thanks again!!
emacrack said:
Hey @bleu8888! Thanks for stopping by. You mean the Zip generated by MX on bug report?? If not, please, tell me how and I'll share it.
Thanks again!!
Click to expand...
Click to collapse
Yes. You are right.
Kindly post the logs (i.e, zip file generared on Report Bug)
Sent from my SM-G900H
Here is the Bug Report generated by the app. I've now downloaded the Popcorn Time source from Git and compiled with some little modifications but I still can't get subtitles to load automatically on MX. I've tried with Uri and direct "subs.srt" file path (wich is stored in mnt/sdcard/Download folder) but no luck. If you have something to recommend please let me know and I'll try.
Thanks!!
emacrack said:
Here is the Bug Report generated by the app. I've now downloaded the Popcorn Time source from Git and compiled with some little modifications but I still can't get subtitles to load automatically on MX. I've tried with Uri and direct "subs.srt" file path (wich is stored in mnt/sdcard/Download folder) but no luck. If you have something to recommend please let me know and I'll try.
Thanks!!
Click to expand...
Click to collapse
@emacrack The log actually does not show anything about playback screen. Please make note that ActivityScreen dumps passed extras.

Intent: How to set decode_mode in browser

Hy,
I use mx player in a web application (php based) in Chrome on android;
My link is like this
<a h r e f="intent:h ttp://aaa.bbb/playlist.m3u8#Intent;package=com.mxtech.videoplayer.pro;S.title=Live+TV;end;">Live TV</a>
I use defalut HW+ , but I need to change for some links to HW.
I read here sites.google.com/site/mxvpen/api[/
[Action: android.intent.action.VIEW]
Data:
Uri pointing to a media source.
Extras:
(All extras are optional)
decode_mode
Type: byte
Values: 1 - HW decoder 2 - SW decoder
Click to expand...
Click to collapse
Can I do this in browser link? How....
Thanks.
vb6rocod said:
Hy,
I use mx player in a web application (php based) in Chrome on android;
My link is like this
<a h r e f="intent:h ttp://aaa.bbb/playlist.m3u8#Intent;package=com.mxtech.videoplayer.pro;S.title=Live+TV;end;">Live TV</a>
I use defalut HW+ , but I need to change for some links to HW.
I read here sites.google.com/site/mxvpen/api[/
Can I do this in browser link? How....
Thanks.
Click to expand...
Click to collapse
Just Try the following method for HW decoder.
HTML:
Live TV
You can use "2" for SW & "4" for HW+.
On older android devices, If HW+ is not enabled, It may switch to the next decoder (i.e SW)
MXPlayer said:
Just Try the following method for HW decoder.
HTML:
Live TV
You can use "2" for SW & "4" for HW+.
On older android devices, If HW+ is not enabled, It may switch to the next decoder (i.e SW)
Click to expand...
Click to collapse
Many, many, THANKS1
BEST PLAYER FOR ANDROID.
If is no more, another question. How can I send custom header (in special referer and cookies).
Thank you again, you make my day very happy!
vb6rocod said:
Many, many, THANKS1
BEST PLAYER FOR ANDROID.
If is no more, another question. How can I send custom header (in special referer and cookies).
Thank you again, you make my day very happy!
Click to expand...
Click to collapse
MX Player uses String Array for Headers. Unfortunately, There is no way to pass the string array from the web page.
MXPlayer said:
MX Player uses String Array for Headers. Unfortunately, There is no way to pass the string array from the web page.
Click to expand...
Click to collapse
Thank you for your effort to help me.
MXPlayer said:
MX Player uses String Array for Headers. Unfortunately, There is no way to pass the string array from the web page.
Click to expand...
Click to collapse
Sorry for resurrecting the topic, but I'm afraid that's the only mention of this on all the internet...
But four years later, still is there no way to pass headers by Intent URL scheme?
I wish there was some string fallback, something like S.headers='Origin%3Ahttps%3A%2F%2Fexample.com&Referer%3Ahttps%3A%2F%2Fexample.com%2Findex'
Wouldn't it be possible?
Thank you for this awesome app! Best regards.

Categories

Resources