2013-07-29, 03:56 AM
There is a page at /stream&f=filename that works with short filenames for many media types.
Martin
Martin
2013-07-29, 03:56 AM
There is a page at /stream&f=filename that works with short filenames for many media types.
Martin
2013-07-29, 04:00 AM
when you say short filenames, how short are we talking?
I would need sub to add in a way to get a list of video directories, then querying subdirectories, eg service?method=videodir.list&sid= then service?method=videodir.list&subdir={subname}&sid= then be able to play it via stream?filename={videoshare name \ subname \ filename } no idea how well that would work with all the different codecs though. but worth looking into IMO. martin, if you know more info about the stream&f=filename, can you let me know, so I can test it locally without sub adding in the videodir.list stuff
2013-07-29, 04:21 AM
Short as in old DOS 8.3 format that you can see with dir /x
There is no API to get the list, since it is outside the db it might be slow especially if you have to wake all the archive folders. Maybe you can use NEWA'S http://localhost:8866/5/video.aspx Martin
2013-07-29, 05:32 AM
wanting to avoid using NEWA, want to stick to official APIs that returns exactly the same info as nextpvr.
I know ill need sub to add the dir list (it wont be slow, i wont ask for every file at once, just Directory.GetFiles()+ Directory.GetDirectories()), then when I open another sub folder, just do the same. I just want to know the actual format now, so I can play with it and see if divx, h264, mov, whatever work.
2013-07-29, 09:39 AM
tried using a url like
Code: http://batman:8866/stream&f=D%3A%5CVideos%5CBatman.mkv Code: http://batman:8866/stream&f=D:\Videos\Batman.mkv
2013-07-29, 10:31 AM
I believe the slashes go the other way around d:/vidoes/batman.mkv (or something like this)....so the opposite of what would normally use in Windows...Martin 100% knows though
2013-07-29, 10:34 AM
nope, still no luck.
2013-07-29, 10:57 AM
This probably doesn't help, but this the my NEWA for a VLC stream (that Martin helped me with a while back)...just picked any old program from the Guide and streamed it:
http://x.x.x.x:8866/public/Player2.aspx?...21&type=sn
2013-07-29, 11:09 AM
nah, i need a way to play any file from a shared folder configured in nextpvr. this isnt huge priority, but is needed if i'm going to add "Videos" support.
2013-07-29, 11:32 AM
(This post was last modified: 2013-07-29, 11:44 AM by mvallevand.)
reven Wrote:tried using a url like If you are playing from the command line did you try quotes around it? You might need to enable the NMT Web Server option for this page to work. Martin |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
No Video when watching Recordings or LiveTV from Web/Samsung App | TomsterT1 | 0 | 6,588 |
2015-04-13, 10:45 PM Last Post: TomsterT1 |
|
Screen shots and video preview | reven | 1 | 5,584 |
2013-07-30, 12:20 PM Last Post: reven |