NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 330 331 332 333 334 … 433 Next »
Plugin Playing Video File

Plugin Playing Video File
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,205
Threads: 958
Joined: May 2006
#11
2011-10-31, 09:29 PM
sub Wrote:A unc path like that, to an avi file, should play fine on an nmt. It does depend on the recording service account on the user's server PC being able to access that path.

I only special-cased HTTP URL playback. Files with share names will be treated normally as if they came from the video library and the NPVR web server will be expected to stream it back, which is a good thing because HTTP is more efficient than SMB.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,814
Threads: 769
Joined: Nov 2003
#12
2011-10-31, 09:36 PM
mvallevand Wrote:I only special-cased HTTP URL playback. Files with share names will be treated normally as if they came from the video library and the NPVR web server will be expected to stream it back, which is a good thing because HTTP is more efficient than SMB
Yep, I know. He initially mentioned url, so I was assuming he meant http, but he then went on to give a unc path as an example.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#13
2011-11-01, 06:43 PM
Yeah originally I thoguht i was shown an http address to a video file - and if I wanted i can use that. But I see more value in that I can get access to the original filename sitting on the server - as the http stream will be transcoded, pulling directly off the server bypasses the transcoding engine.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#14
2011-11-02, 01:40 AM
psycik: if you are about to write a plugin for playing videos, can I make a wish? The resume function in npvr is very useful, but I sometimes miss the possibility to set a bookmark in a video, like when I want to watch the scene in "The Party" where Peter Sellers is feeding the parrot with "birdie nam nam" Big Grin
Multiple bookmarks would be even better...

"I'd rather have a bottle in front of me than a frontal lobotomy"
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#15
2011-11-02, 01:44 AM
I've first got to figure out if I get access to (and can update) the watched flag.

I suspect I might need to do some double handling, one from my data source, and one from subs playback_position.

I'm being deliberately obtuse on my datasource until I get further down, suffice to say I'm NOT writing a file scraper, but using an existing one.

That does restrict me somewhat in some of the features i can look at, but means that I only have to worry about the display of media and starting playback.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#16
2011-11-02, 07:40 AM
Sub,

I really like the layout of your videos plugin. So I'm trying to use it.

But I notice some overtyping:
[ATTACH=CONFIG]32133[/ATTACH]

Currently though, I'm only setting this property: listItem["@name"] = item.Title;
Which is what is being over typed. What can I do to get rid of it?

And do you mind if I use your skin (or a copy of, I dont reference the proper one). I like the name layout on the left and teh data on the right.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#17
2011-11-02, 09:07 AM
psycik Wrote:But I notice some overtyping: What can I do to get rid of it?
Set the isFolder and isItem hash properties as appropiate.

<Text size="88.45,100" location="11,0" visible="@isFolder" valign="Center" align="Left" font="Default" text="@name"/> <Text size="97,100" location="1.55,0" visible="@isItem" valign="Center" align="Left" font="Default" text="@name"/>
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#18
2011-11-02, 09:10 AM
McBainUK Wrote:Set the isFolder and isItem hash properties as appropiate.

<Text size="88.45,100" location="11,0" visible="@isFolder" valign="Center" align="Left" font="Default" text="@name"/> <Text size="97,100" location="1.55,0" visible="@isItem" valign="Center" align="Left" font="Default" text="@name"/>

Hmm I have been (for other reasons). To what do you know? I've been setting to bool true or false.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,814
Threads: 769
Joined: Nov 2003
#19
2011-11-02, 04:42 PM
I'm pretty sure it is a case of those flags not being set correctly.

For example, an file would set:
item["@isFolder"] = false;
item["@isItem"] = true;

a folder would set:
item["@isFolder"] = true;
item["@isItem"] = false;
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#20
2011-11-02, 05:12 PM
Hmm ok I've been setting a folder to isfolder = true but don't for a folder set isfile = false I'll try that.

Then I just need to work put a more glamorous way of replacing the file path.

But as of last night i had it working and managed to get the image callback going that you may see I've asked about in another thread.

Btw I'm becoming you, getting up at sparrow fart o'clock. :p
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  incorrect frequency in adelaide .ini file spin35 5 3,198 2023-02-01, 05:40 PM
Last Post: sub
Information Audio Video Sync Fixed with AC3Filter! gearsofwoe 0 1,164 2022-11-18, 04:36 AM
Last Post: gearsofwoe
  NPVR 4.2.4 Video Library No Longer Shows folder.jpg Lao Pan 12 4,189 2022-04-14, 04:33 AM
Last Post: Antmannz
  ts file shows length too long? SuttonWillow 2 2,057 2021-03-15, 01:56 PM
Last Post: mvallevand
  Unhandled Exception: file name too long (idiots at pbs made it super long) jobby99 1 1,506 2020-10-29, 09:40 PM
Last Post: mvallevand
  Recordings not playing in browser FamilyGuyFan 1 1,543 2020-10-22, 10:18 PM
Last Post: mvallevand
  ts file shows length too long SamM 4 2,458 2020-10-06, 02:45 AM
Last Post: Ehrlichia
  EPG displaying small subset of xmltv file. Esteban 9 3,189 2020-07-18, 10:07 PM
Last Post: Esteban
  Max File Size jrockow 2 1,605 2020-04-21, 02:38 PM
Last Post: jrockow
  Video Meta information made from scratch MPMovieBuff 1 1,764 2020-04-06, 02:51 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode