NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 2 3 4 5 … 159 Next »
VidImport not working

 
  • 0 Vote(s) - 0 Average
VidImport not working
a1blues
Offline

Member

Posts: 120
Threads: 22
Joined: Aug 2018
#21
2021-05-03, 07:16 PM
(2021-05-03, 06:09 PM)mvallevand Wrote: Perhaps your browser cache is an issue, check the file date of the exe and dll to make sure they are today's date.

Martin

I got it to work, i had to put dotnet at start and point it to the dll and it did it perfect.
Only problem now is when I try to play any of the media center files in the web nextpvr page it gives an error of transcoder failed or failed to start requested stream?
I set it to transcode in the web site setting for nextpvr.
Any ideas?
Thanks.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#22
2021-05-03, 07:21 PM
Did you install the files in the NextPVR program folder? They aren't designed to run anywhere else.

I did post that wtv is a bad format but your logs would probably show what is going one.

Martin
a1blues
Offline

Member

Posts: 120
Threads: 22
Joined: Aug 2018
#23
2021-05-03, 08:29 PM
(2021-05-03, 07:21 PM)mvallevand Wrote: Did you install the files in the NextPVR program folder? They aren't designed to run anywhere else.

I did post that wtv is a bad format but your logs would probably show what is going one.

Martin

Yeah i installed to nexpvr folder.
Got it sorted now.
Many thanks for helping me get it sorted.
Cheers.
Mark.
a1blues
Offline

Member

Posts: 120
Threads: 22
Joined: Aug 2018
#24
2021-05-07, 11:17 PM (This post was last modified: 2021-05-07, 11:20 PM by a1blues.)
(2021-05-03, 07:21 PM)mvallevand Wrote: Did you install the files in the NextPVR program folder? They aren't designed to run anywhere else.

I did post that wtv is a bad format but your logs would probably show what is going one.

Martin

Just a question maybe regarding when importing wtv files, they are showing on nextpvr as being a start time of a hour earlier than the recording start time actually is.
When i check the original wtv file manually and go to properties the recording time is showing the correct start time.
Also when I use ffprobe it is showing a hour early like nextpvr reads it as too.
I have included an example wtv file and the ffprobe output to illustrate.
PS. I have got my date and time zone correct for uk GMT.
The actual recording start time of this video is 11.45am


Attached Files
.zip   wtv_example.zip (Size: 52.11 KB / Downloads: 2)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#25
2021-05-07, 11:29 PM (This post was last modified: 2021-05-07, 11:35 PM by mvallevand.)
What I do can't be any simpler I just pass your xml file as a string to NextPVR's  logic so I don't have any control what sub does.  Are you sure your XML file is passing the correct time with the correct UTC offset.

Code:
    string xml = File.ReadAllText(args[1]);
    NShared.ExportImport.ImportRecordings(xml);

Martin
a1blues
Offline

Member

Posts: 120
Threads: 22
Joined: Aug 2018
#26
2021-05-08, 01:06 AM (This post was last modified: 2021-05-08, 01:15 AM by a1blues.)
(2021-05-07, 11:29 PM)mvallevand Wrote: What I do can't be any simpler I just pass your xml file as a string to NextPVR's  logic so I don't have any control what sub does.  Are you sure your XML file is passing the correct time with the correct UTC offset. 

Code:
    string xml = File.ReadAllText(args[1]);
    NShared.ExportImport.ImportRecordings(xml);

Martin
No, you misunderstand me, I do not mean it is your fault or subs that this happens, Im just snookered as to what to do to fix the problem.
On my windows under time zone part, it is set to utc+00:00 dublin, edinburgh, Lisbon, London.
I was hoping you might know how to fix it as you seem very knowledgeable at coding and so on.


Here is the xml code for that file, it was processed by a powershell script i got off this forum called NextPVRImport.ps1 which i have attached.
The weird thing is that ffprobe as mentioned still gets the original wtv file as a hour earlier regardless of the xml file or what the script do.
Even weirder is that the powershell script get the time as two hours earlier lol.

    <recording>
        <name>Close Calls: On Camera</name>
        <channel>BBC ONE HD</channel>
        <filename>D:\Recorded TV\Close Calls- On Camera\Close Calls- On Camera-Season_9\Thu 06 May 2021\10-45-Ep4\Stream\Close Calls- On Camera S9 E4.wtv</filename>
        <status>READY</status>
        <startTime>2021-05-06T09:45:03.0000000Z</startTime>
        <endTime>2021-05-06T09:45:03.0000000Z</endTime>
        <Event>
            <OID>0</OID>
            <Title>Close Calls: On Camera</Title>
            <SubTitle>More stories of near misses, featurin...</SubTitle>
            <Description>More stories of near misses, featuring a teenage girl crashing into a bridge during a go-kart race, while her anxious parents watch in the stands. Plus, a kayaking mother and daughter stranded on mud flats after getting caught out by the tide. Presented by Nick Knowles - S9 E4/20</Description>
            <ChannelOID>0</ChannelOID>
            <StartTime>2021-05-06T09:45:03.0000000Z</StartTime>
            <EndTime>2021-05-06T09:45:03.0000000Z</EndTime>
            <FirstRun>true</FirstRun>
        </Event>
    </recording>
    <recording>


Attached Files
.zip   NextPVRImport.zip (Size: 2.71 KB / Downloads: 5)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#27
2021-05-08, 01:26 AM
I don't know what the time should be so I can't help.  I would be more worried that the start time and end time are the same.

Quite honestly I really don't think you should care what the time shows on a recording if it imports and plays correctly.

Martin
a1blues
Offline

Member

Posts: 120
Threads: 22
Joined: Aug 2018
#28
2021-05-08, 01:31 AM
(2021-05-08, 01:26 AM)mvallevand Wrote: I don't know what the time should be so I can't help.  I would be more worried that the start time and end time are the same.

Quite honestly I really don't think you should care what the time shows on a recording if it imports and plays correctly.

Martin

That's a good point and it does seem quite trivial.
However, I have written a script that creates folders and labels the time it is recorded and this is why I wanted to fix it cause its bugging me. No matter... thanks anyway
a1blues
Offline

Member

Posts: 120
Threads: 22
Joined: Aug 2018
#29
2021-05-08, 09:18 AM
(2021-05-08, 01:26 AM)mvallevand Wrote: I don't know what the time should be so I can't help.  I would be more worried that the start time and end time are the same.

Quite honestly I really don't think you should care what the time shows on a recording if it imports and plays correctly.

Martin

Fixed it, had to go to windows date and time settings and disable daylight savings.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#30
2021-05-08, 10:16 AM
That feels wrong, I suggest the time with Z you are providing is not not correct. Right now it is BST right so Z time is not local time.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  download button not working momofterrors 0 1,574 2016-06-20, 11:16 PM
Last Post: momofterrors
  get working/batch/file dirs from one line[any dir of it's path too!] pBS 17 12,363 2013-11-05, 12:03 PM
Last Post: pBS
  Working on Server 2012 darrenmunday 3 3,619 2013-10-31, 09:47 PM
Last Post: jyan_osu
  Forum Search not working wtg 4 2,028 2011-02-18, 12:08 PM
Last Post: martint123
  FYI: S3 problems under Windows 7 x64 (not fully working as it should) ShiningDragon 0 1,776 2011-01-02, 03:27 AM
Last Post: ShiningDragon
  Should I switch to NPVR from a working GBPVR setup ?? softfoot 3 2,141 2010-11-07, 08:56 PM
Last Post: BigMoose
  Remote not working (BootIntoGBPVR)/GBPVR start another program -any ideas? fray_bentos 12 4,072 2010-02-23, 08:42 PM
Last Post: gEd
  Need help working out what server filter is rejecting GBPVR forum replies jksmurf 10 3,591 2009-07-18, 05:38 PM
Last Post: martint123
  Suggestions for working with HD PVR output rgann 1 1,693 2009-03-17, 07:27 AM
Last Post: psycik
  GBPVR v1.2.13 - volume control from remote not working vskatusa 0 1,475 2008-08-12, 08:59 PM
Last Post: vskatusa

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

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

Linear Mode
Threaded Mode