NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 2 3 4 5 6 … 20 Next »
YouTube Plugin

 
  • 0 Vote(s) - 0 Average
YouTube Plugin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#291
2012-01-31, 06:16 AM
whurlston Wrote:You will also need to manually delete the truncated file to get it to download again.

Yes I noticed that I might be worth comparing the filesize with the size you read from the link.

Is it possible you don't set youtubeIsWatchable = false on a CALLBACK_ERROR (to SearchLite)

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#292
2012-01-31, 06:22 AM
mvallevand Wrote:Yes I noticed that I might be worth comparing the filesize with the size you read from the link.
I thought about that but the remuxed ts is a different size than the original download.

mvallevand Wrote:Is it possible you don't set youtubeIsWatchable = false on a CALLBACK_ERROR (to SearchLite)

Martin
It's false by default and only gets set to "true" when it reaches the preplay buffer size. CALLBACK_ERROR hasn't been implemented in the downloader yet. It's only thown when parsing the stream list. All errors in the downloader log a stack trace.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#293
2012-02-02, 06:13 AM
Ok, the NMT crash happened quite a bit tonight and it is always the same, the PlayVideo() command thinks the file doesn't exist. I think this is one for sub, since you can read some bytes.

Code:
2012-02-02 00:43:03.004    [DEBUG][109]    YouTube: Response: OK: OK
2012-02-02 00:43:03.004    [DEBUG][109]    YouTube: Starting download of "http://o-o.preferred.rogers-yyz1.v11...video/mp4" to "C:\temp\YouTube\OfhSRaICBvc.ts". Expected length is 54357162
2012-02-02 00:43:06.661    [DEBUG][109]    YouTube: Setting video as watchable... 1049112 of 54357162 downloaded
2012-02-02 00:43:06.663    [DEBUG][109]    YouTube: Video Downloader Status Change: ReadyToWatch : C:\temp\YouTube\OfhSRaICBvc.ts
2012-02-02 00:43:06.663    [DEBUG][109]    YOUTUBE_PLUGIN_PLAY_CALLBACK
2012-02-02 00:43:06.663    [DEBUG][109]    YouTube: IEventNotification(YOUTUBE_PLUGIN_PLAY_CALLBACK, System.Collections.Hashtable)
2012-02-02 00:43:06.755    [DEBUG][3]    YouTube: Closing popup before playing video.
2012-02-02 00:43:06.755    [DEBUG][3]    UiStatic.Dispose()
2012-02-02 00:43:06.771    [DEBUG][3]    Playing video file: C:\temp\YouTube\OfhSRaICBvc.ts
2012-02-02 00:43:07.032    [DEBUG][3]    File is in use, so ignoring any Timing.Info
2012-02-02 00:43:07.033    [DEBUG][3]    StartVideoPlayback: C:\temp\YouTube\OfhSRaICBvc.ts
[b]2012-02-02 00:43:07.033    [DEBUG][3]    file does not exist: C:\temp\YouTube\OfhSRaICBvc.ts[/b]
2012-02-02 00:43:07.100    [DEBUG][3]    YouTube: IEventNotification(PLAYING_VIDEO, C:\temp\YouTube\OfhSRaICBvc.ts)

deleted and try the same file and it works

Code:
2012-02-02 00:46:24.783    [DEBUG][110]    YouTube: Response: OK: OK
2012-02-02 00:46:24.783    [DEBUG][110]    YouTube: Starting download of "http://o-o.preferred.rogers-yyz1...video/mp4" to "C:\temp\YouTube\OfhSRaICBvc.ts". Expected length is 54357162
2012-02-02 00:46:25.360    [DEBUG][110]    YouTube: Setting video as watchable... 1050482 of 54357162 downloaded
2012-02-02 00:46:25.362    [DEBUG][110]    YouTube: Video Downloader Status Change: ReadyToWatch : C:\temp\YouTube\OfhSRaICBvc.ts
2012-02-02 00:46:25.362    [DEBUG][110]    YOUTUBE_PLUGIN_PLAY_CALLBACK
2012-02-02 00:46:25.362    [DEBUG][110]    YouTube: IEventNotification(YOUTUBE_PLUGIN_PLAY_CALLBACK, System.Collections.Hashtable)
2012-02-02 00:46:25.426    [DEBUG][3]    YouTube: Closing popup before playing video.
2012-02-02 00:46:25.426    [DEBUG][3]    UiStatic.Dispose()
2012-02-02 00:46:25.444    [DEBUG][3]    Playing video file: C:\temp\YouTube\OfhSRaICBvc.ts
2012-02-02 00:46:25.792    [DEBUG][3]    File is in use, so ignoring any Timing.Info
2012-02-02 00:46:25.793    [DEBUG][3]    StartVideoPlayback: C:\temp\YouTube\OfhSRaICBvc.ts
2012-02-02 00:46:25.794    [DEBUG][3]    Sent playback request
2012-02-02 00:46:25.796    [DEBUG][3]    Sent 'Hide OSD' request
2012-02-02 00:46:25.800    [DEBUG][7]    Received: STREAM_REQUEST
... lot of lines
2012-02-02 00:46:25.919    [DEBUG][3]    YouTube: IEventNotification(PLAYING_VIDEO, C:\temp\YouTube\OfhSRaICBvc.ts)

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#294
2012-02-02, 08:15 AM
Yeah, I'm pretty sure sub will have to take a look at that one. It detects that the file is in use (still being written) but then says it doesn't exist. Maybe not enough data in it yet?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#295
2012-02-02, 05:20 PM
Here is the bit of code that generates those messages:

Code:
Logger.Debug("StartVideoPlayback: " + filename);
            if (File.Exists(filename) || filename.ToLower().StartsWith("http://"))
            {
                ...snip....
            }
            else
            {
                Logger.Debug("file does not exist: " + filename);
                playbackMode = PlaybackMode.MODE_NONE;
                return false;
            }
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#296
2012-02-02, 06:27 PM
Ah, that explains the log. I'm currently checking how much is downloaded (and piped to ffmpeg) before requesting playback. I can change it to check the file and see how much ffmpeg has written instead before requesting playback. That should take care of the issue.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#297
2012-02-05, 11:25 PM
Whurlston, here is a YouTube video of your YouTube Plugin on the NMT that I am posting on the NMT forum. http://youtu.be/kxK_nxCLLgk
I notice that the UTF-8 issue still exists.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#298
2012-02-06, 06:45 AM
I figured out the problem and I've fixed it for the next release.
forzaKGB
Offline

Member

Posts: 235
Threads: 31
Joined: Mar 2006
#299
2012-02-07, 11:32 AM
I understand this is a YouTube plugin but I would like to know if it is possible to tweak it in order to work with other flash-based sites (the one I am most interested in is http://svtplay.se a swedish site).
I know you cannot understand the language, but you can perhaps see if it is possible by looking at the source of the page:
http://svtplay.se/alfabetisk?am,,1,thumbs

Perhaps the mobile version of the site is better?

http://svtplay.se/mobil
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#300
2012-02-07, 07:00 PM
I can definitely parse the video stream url from their pages. The only issue is it is a live rtmp stream and I can't find a directshow filter to play it directly. But it would be simple to use the same ffmpeg proxy that I'm already using for local buffering.

I'll see what I can do over the next few weeks.
« Next Oldest | Next Newest »

Users browsing this thread: 5 Guest(s)

Pages (65): « Previous 1 … 28 29 30 31 32 … 65 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Using R5000-HD with Network Recorder Plugin checkbin99 255 52,327 2021-08-24, 07:50 PM
Last Post: checkbin99
  how to configure RemoteRecorder Plugin to use remote NextPVR instance? bm_00 5 3,139 2020-10-06, 12:32 PM
Last Post: mvallevand
  Connecting NVPR to Emby Plugin NVPR Geek 0 1,365 2018-06-10, 12:32 AM
Last Post: NVPR Geek
  Newb here: Can someone help with a Plex Plugin issue? wepham 1 3,239 2017-02-07, 07:10 AM
Last Post: petenshari
  System Plugin Confused by New NPVR Naming Scheme Lao Pan 1 2,745 2016-09-25, 08:26 AM
Last Post: imilne
  Movies2 Plugin Problem... Anyone using it? ga_mueller 5 4,489 2016-08-22, 07:02 PM
Last Post: ga_mueller
  Plex Plugin Nikkie300 4 6,209 2016-01-24, 05:59 PM
Last Post: Nikkie300
  NextPVR Plex plugin, no live TV ajmast 15 9,689 2015-10-29, 03:45 AM
Last Post: ajmast
  Cant restart record service using System plugin on 3.4.8 shaunpatrick77 3 2,845 2015-05-19, 02:20 PM
Last Post: imilne
  Files Plugin crashes when there is an ' in the file name. cbgifford 89 29,702 2015-01-28, 05:19 AM
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