Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > BSPlayer for Android
Register FAQ Calendar Today's Posts Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 18th September 2012
Junior Member
BS.Player Newbie
 
Join Date: Sep 2012
Age: 42
Posts: 5
Rep Power: 0
wincore is on a distinguished road
Default HTTP Stream and AUTOLOAD Subtitles from same link but with .srt at the end

Hello, can you add ability to automatical download subtitles if HTTP stream is:
http://localhost/movies/myMovie.mkv
then BS Player also try automaticaly load subtitles from:
http://localhost/movies/myMovie.srt
Is possible to implement this in next version?
Thank you.
Reply With Quote
  #2 (permalink)  
Old 19th September 2012
Ico-man's Avatar
BS.Support
BS.Player Power User
 
Join Date: Sep 2006
Location: Slovenia
Posts: 1,469
Rep Power: 10
Ico-man is on a distinguished road
Default

This should work already, for local files, but you have to enter IP instead of localhost. We will add localhost also.
Reply With Quote
  #3 (permalink)  
Old 19th September 2012
Junior Member
BS.Player Newbie
 
Join Date: Sep 2012
Age: 42
Posts: 5
Rep Power: 0
wincore is on a distinguished road
Default

Hello, for local files is it a standard, but because BS Player cannot play files from FTP, then HTTP stream with autoload from remote subtitle file is a good option and feature I think. Then I can serve media files over own HTTP server with browser listing. It's easier workaround, than you decide to implement FTP/FTPS browsing in BS Player.
Reply With Quote
  #4 (permalink)  
Old 19th September 2012
Junior Member
BS.Player Newbie
 
Join Date: Sep 2012
Age: 42
Posts: 5
Rep Power: 0
wincore is on a distinguished road
Default

localhost - i originally mean any remote IP address / domain, sorry for misleading
Reply With Quote
  #5 (permalink)  
Old 22nd September 2012
Junior Member
BS.Player Newbie
 
Join Date: Sep 2012
Posts: 2
Rep Power: 0
dburckh is on a distinguished road
Default

So, I'm trying to implement this on the server side (Nexus Media Importer) because a lot of people have been asking for it.

When I send you:
Code:
http://127.0.0.1:34427/play/Tangled.mkv?id=61&ext=.mkv
You are sending me this:
Code:
POST /play/Tangled.mkv?id=61&ext=.srt HTTP/1.1
User-Agent: Dalvik/1.6.0 (Linux; U; Android 4.1.1; Nexus 7 Build/JRO03D)
Host: 127.0.0.1:34427
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Would this normally be a GET? Are you expecting the URL back, or the actual .srt file? If the URL, can you give me an example format? (I'm looking for the key)

Thanks!
Reply With Quote
  #6 (permalink)  
Old 4th October 2012
Junior Member
BS.Player Newbie
 
Join Date: Sep 2012
Posts: 2
Rep Power: 0
dburckh is on a distinguished road
Default

Quote:
Originally Posted by dburckh View Post
So, I'm trying to implement this on the server side (Nexus Media Importer) because a lot of people have been asking for it.

When I send you:
Code:
http://127.0.0.1:34427/play/Tangled.mkv?id=61&ext=.mkv
You are sending me this:
Code:
POST /play/Tangled.mkv?id=61&ext=.srt HTTP/1.1
User-Agent: Dalvik/1.6.0 (Linux; U; Android 4.1.1; Nexus 7 Build/JRO03D)
Host: 127.0.0.1:34427
Connection: Keep-Alive
Accept-Encoding: gzip
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Would this normally be a GET? Are you expecting the URL back, or the actual .srt file? If the URL, can you give me an example format? (I'm looking for the key)

Thanks!
Don't know if you fixed this because of me, or fixed it before I mentioned it, but it's working! Thanks!
Reply With Quote
  #7 (permalink)  
Old 8th October 2012
Ico-man's Avatar
BS.Support
BS.Player Power User
 
Join Date: Sep 2006
Location: Slovenia
Posts: 1,469
Rep Power: 10
Ico-man is on a distinguished road
Default

As long as it works now.
Reply With Quote
  #8 (permalink)  
Old 1st June 2013
Junior Member
BS.Player Newbie
 
Join Date: Sep 2012
Age: 42
Posts: 5
Rep Power: 0
wincore is on a distinguished road
Default

Hello, i discover, that competitive MX Player can open remote subtitles as i wish for BSplayer earlier.
It means, if MX Player open http://public.ip/movies/myMovie.mkv then it is trying to also open:

http://public.ip/movies/myMovie.srt
http://public.ip/movies/myMovie.ass
http://public.ip/movies/myMovie.smi
http://public.ip/movies/myMovie.sub
http://public.ip/movies/myMovie.txt
http://public.ip/movies/myMovie.ssa
http://public.ip/movies/myMovie.mpl
http://public.ip/movies/myMovie.psb

So, with MX Player i can watch remote movies even with subtitles.
With BSPlayer I can't.
Because I paid both, can you add support for this feature please?
I will be very appreciated.
Thank you very much and best wishes.
Reply With Quote
  #9 (permalink)  
Old 7th June 2013
Ico-man's Avatar
BS.Support
BS.Player Power User
 
Join Date: Sep 2006
Location: Slovenia
Posts: 1,469
Rep Power: 10
Ico-man is on a distinguished road
Thumbs up

It is already active for local ip's, we will add it for public ip's also.
Reply With Quote
Reply

Tags
autoload, http, link, stream, subtitles


Posting Rules

LinkBacks (?)
LinkBack to this Thread: http://forum.bsplayer.com/bsplayer-android/19691-http-stream-autoload-subtitles-same-link-but-srt-end.html
Posted By For Type Date
[APP][4.0+][v2.0.11] BubbleUPnP - UPnP/DLNA/… - Pg. 508 | Android Development and Hacking | XDA Forums This thread Refback 24th October 2014 03:29 PM
[APP][4.0+][v2.0.8.2] BubbleUPnP - UPnP/DLNA… - Pg. 510 | Android Development and Hacking | XDA Forums This thread Refback 5th October 2014 04:03 AM
[APP][2.1+][v1.7.7.1] BubbleUPnP - UPnP/DLNA Control Point and Renderer - Page 510 - xda-developers This thread Refback 5th February 2014 01:10 PM
[APP][2.1+][v1.7.7.1] BubbleUPnP - UPnP/DLNA Control Point and Renderer - Page 508 - xda-developers This thread Refback 4th February 2014 12:54 AM
[app]Nexus 7 External Flash Picture Viewer & Media Streamer - Page 17 - xda-developers This thread Refback 25th September 2012 08:37 AM


All times are GMT +1. The time now is 01:59 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20