Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: NEWA -> Stream = delete recording?

  1. #11
    Join Date
    Apr 2012
    Location
    US
    Posts
    24
    Here is the screen shot. My mouse was hovering on the "Stream" button and that is why the text hint for stream appeared. And in the lower left you can see the link URL for the cancel operation. I obscured the references to my machine's name since I did not think that was relevant. If this doesn't help, would the source for the web page be helpful?
    Attached Images Attached Images  

  2. #12
    Join Date
    Apr 2012
    Location
    US
    Posts
    24
    I did some searching and I verified that the cause of this problem is that 'strmAllowed' is False even when the path is correct. Once I force 'strmAllowed' to True, the Stream button has the correct link and the Delete button appears with the correct 'cancel' link. The code assumes that the Steam button will always be available and that the Delete button may be optional. I think that should be reversed so that the Delete is always available and the Stream is optional. I changed this logic in the file "CSSEPGEventTableLoad.cs" in the private fillDiv method for the "in-progress" and "available" statuses. So, right now I don't have the ability to Stream since 'strmAllowed' is False for some unknown reason. The up-side is that the 'Delete' button shows up with the correct link and the red highlight before I press it. I am interested in your thoughts about the logic change in the code.

  3. #13
    Join Date
    Apr 2012
    Location
    US
    Posts
    24
    I found my problem with the 'strmAllowed' being False. The VLC directory that is on the server with NPVR installed is slightly different than the VLC directory that is on my personal PC. I got the 2 confused and the settings page had the directory for the VLC directory that is on my personal PC. Once I updated it to be the location for the VLC directory on the server with NPVR installed, the 'Stream' button appeared. I still think the logic change from my previous post applies for people that do not have VLC installed on their NPVR server.

  4. #14
    Join Date
    Mar 2006
    Location
    Central Texas, USA
    Posts
    513
    That explanation seems to be the same as the one I pointed out in comment #5 of this thread. When the code can't find VLC then it turns the stream button into the delete button. Also, since the code don't require confirmation of delete, the file just instantly vanishes. In my case it couldn't find VLC because I'm running the x64 version of Win 7 and that puts VLC into a different directory than the default one used by NEWA.
    E4600 Core2Duo, 4GB RAM, Win7 Pro, HD5570, Hauppauge PVR-500, HDHomeRun Prime, NPVR 3.1.1, 2 Popcorn Hour A-100's and a partridge in a pear tree...
    On a clear disk, you can seek forever...

  5. #15
    Join Date
    Apr 2012
    Location
    US
    Posts
    24
    HarryH3,
    Just to confirm a few things to identify where the problem lies...
    1) VLC is installed on the same server as NPVR.
    2) The Config page has the VLC directory as "C:\Program Files (x86)\VideoLAN\VLC\". That is without the quotes and it must have the ending slash. This is assuming you are running the 64-bit version of Windows 7.
    3) Remember, the config page for VLC is referring to the NPVR server. It is not asking for the VLC path on the machine you use with your web browser to access NEWA.
    4) If this is still not working, try downloading the ZIP install for VLC and putting it in a simple location such as "C:\temp\vlc\". Then update the Config page in NEWA to use the new directory and try again.

  6. #16
    Join Date
    Apr 2012
    Location
    US
    Posts
    24
    UJB,
    Back to the logic update from post #12... I downloaded the latest development build of NEWA.v1.25, applied my changes, and created this patch file. Besides the change to always show the Cancel/Delete button, it also has a few spelling corrections and tag order corrections.
    Attached Files Attached Files

  7. #17
    Join Date
    Mar 2006
    Location
    Central Texas, USA
    Posts
    513
    Quote Originally Posted by kevbotheone View Post
    HarryH3,
    Just to confirm a few things to identify where the problem lies...
    1) VLC is installed on the same server as NPVR.
    2) The Config page has the VLC directory as "C:\Program Files (x86)\VideoLAN\VLC\". That is without the quotes and it must have the ending slash. This is assuming you are running the 64-bit version of Windows 7.
    3) Remember, the config page for VLC is referring to the NPVR server. It is not asking for the VLC path on the machine you use with your web browser to access NEWA.
    4) If this is still not working, try downloading the ZIP install for VLC and putting it in a simple location such as "C:\temp\vlc\". Then update the Config page in NEWA to use the new directory and try again.
    I already fixed that here. Once I did, the Instant-Delete-On-Stream (IDOS) feature was gone. In your post above (#13), it sounds like you also had the VLC pointer set to the wrong location and it was triggering the IDOS when you clicked the Stream button. Once you corrected the VLC pointer, all was well?
    E4600 Core2Duo, 4GB RAM, Win7 Pro, HD5570, Hauppauge PVR-500, HDHomeRun Prime, NPVR 3.1.1, 2 Popcorn Hour A-100's and a partridge in a pear tree...
    On a clear disk, you can seek forever...

  8. #18
    Join Date
    Apr 2012
    Location
    US
    Posts
    24
    Quote Originally Posted by HarryH3 View Post
    I already fixed that here. Once I did, the Instant-Delete-On-Stream (IDOS) feature was gone. In your post above (#13), it sounds like you also had the VLC pointer set to the wrong location and it was triggering the IDOS when you clicked the Stream button. Once you corrected the VLC pointer, all was well?
    Yes, I was fine once VLC was pointed to the correct location. The Stream button had the correct link and the Delete button had the 'cancel' link.

  9. #19
    Join Date
    Feb 2005
    Location
    Pennsylvania, USA
    Posts
    5,278
    Quote Originally Posted by kevbotheone View Post
    UJB,
    Back to the logic update from post #12... I downloaded the latest development build of NEWA.v1.25, applied my changes, and created this patch file. Besides the change to always show the Cancel/Delete button, it also has a few spelling corrections and tag order corrections.
    Quote Originally Posted by HarryH3 View Post
    I already fixed that here. Once I did, the Instant-Delete-On-Stream (IDOS) feature was gone. In your post above (#13), it sounds like you also had the VLC pointer set to the wrong location and it was triggering the IDOS when you clicked the Stream button.
    Thanks for the patch file. I applied it and it looks good. Attached is the full patched file for those wanting to apply this fix prior to the next NEWA release.

    Cheers.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •