Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: 3.8.3 and "Tuner no longer available" in Kodi

  1. #1
    Join Date
    Dec 2013
    Location
    France
    Posts
    33

    Thumbs up [Solved] 3.8.3 and "Tuner no longer available" in Kodi

    Hello,

    I use NPVR with Kodi for many years now with no problems and I have a issue since the last update to 3.8.3 I made today (from 3.7.7).

    My setup is:
    - NPVR installed on my server (Windows 8.1)
    - Kodi installed on my HTPC (Windows 7)
    - Connected by Ethernet

    Since the 3.8.3 update, I get the message "No tuner longer available" in Kodi few seconds after launch live TV. The image freezes soon after.

    On my server, NPVR running properly, including live TV.
    The EPG works in Kodi.

    I tested with Kodi 15 and 16: same problem.

    Note:
    - I launched the update from the setting menu of NPVR;
    - if I want to access to the web interface of NPVR (http://192.168.1.2:8866/), I get this screen:
    Code:
    Erreur du serveur dans l'application '/'.
    
    Erreur d'exécution
    
    Description : Une erreur d'application s'est produite sur le serveur. Les paramètres d'erreur personnalisés actuels pour cette application empêchent l'affichage à distance des détails de l'erreur de l'application (pour des raisons de sécurité). Cependant, ils peuvent être affichés par les navigateurs qui s'exécutent sur l'ordinateur serveur local. 
    
    Détails: Pour permettre l'affichage des détails de ce message d'erreur spécifique sur les ordinateurs distants, créez une balise <customErrors> dans un fichier de configuration "web.config" situé dans le répertoire racine de l'application Web en cours. Attribuez ensuite la valeur "off" à l'attribut "mode" de cette balise <customErrors>.
    
    
    <!-- Fichier de configuration Web.Config -->
    
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>
    
    Remarques: La page d'erreurs actuellement affichée peut être remplacée par une page d'erreurs personnalisée. Pour ce faire, modifiez l'attribut "defaultRedirect" de la balise de configuration <customErrors> de l'application, de sorte qu'il pointe vers une URL de la page d'erreurs personnalisée.
    
    
    <!-- Fichier de configuration Web.Config -->
    
    <configuration>
        <system.web>
            <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
        </system.web>
    </configuration>

    Here are my logs:

    21h05 : launch Kodi
    21h06 : access to EPG
    21h07 : launch live TV... freeze...
    21h08 : stop live TV and exit Kodi




    Thank for your help!

    Julien
    French user
    Attached Files Attached Files
    Last edited by Me_; 2016-10-13 at 07:51 AM. Reason: Solved

  2. #2
    Join Date
    May 2006
    Location
    Canada
    Posts
    25,771
    Is that same message on the backend using localhost:8866

    Martin

  3. #3
    Join Date
    Dec 2013
    Location
    France
    Posts
    33
    Quote Originally Posted by mvallevand View Post
    Is that same message on the backend using localhost:8866

    Martin
    Code:
    Erreur du serveur dans l'application '/'.
    
    Erreur de compilation
    
    Description : Une erreur s'est produite lors de la compilation d'une ressource requise pour répondre à cette demande. Veuillez consulter ci-dessous les détails relatifs à l'erreur en question, puis modifier votre code source de manière appropriée. 
    
    Message d'erreur du compilateur: CS1061: 'NUtility.EPGEvent' ne contient pas une définition pour 'Significance' et aucune méthode d'extension 'Significance' acceptant un premier argument de type 'NUtility.EPGEvent' n'a été trouvée (une directive using ou une référence d'assembly est-elle manquante ?)
    
    Erreur source:
    
    
    Ligne 763 :            epg.Season = epgevent.Season;
    Ligne 764 :            epg.Episode = epgevent.Episode;
    Ligne 765 :            epg.Significance = epgevent.Significance;
    Ligne 766 :
    Ligne 767 :            if (Global.Settings.sendOnlyFoundFanart)
    
    Fichier source: c:\Users\Public\NPVR\web\App_Code\Classes\webServiceEPGEvent.cs    Ligne: 765 
    
    
    Messages d'avertissement du compilateur:
    
    Afficher les résultats détaillés de la compilation:
    
    Afficher la source de compilation complète:
    
    
    Informations sur la version : Version Microsoft .NET Framework :4.0.30319; Version ASP.NET :4.0.30319.36366
    Attached full results.
    Attached Files Attached Files

  4. #4
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    84,521
    It looks like your install didn't upgrade all the components. I'd run the 'Stop NPVR Service' shortcut, download and run the installer again, then try again.

  5. #5
    Join Date
    Dec 2013
    Location
    France
    Posts
    33
    Thank you mvallevand and sub.

    I ran the installer and it works.

    Just 2 problems:

    - The modern UI is empty from a remote access (http://192.168.1.2:8866/modern/index.html). It's ok from local access (http://localhost:8866/modern/index.html).





    - some random "glitches" in audio sometimes... (like this post: http://forums.nextpvr.com/showthread...across-network)
    I will confirm that this problem repeats and I will open another thread.

    Thanks again!

    Julien

  6. #6
    Join Date
    Dec 2013
    Location
    France
    Posts
    33
    Without doing anything, that works now on remote acces.

    Just "Available disk space" stay empty on remote and local access. And some random glitches in audio sometimes...

  7. #7
    Join Date
    Oct 2013
    Location
    Redwood City, CA USA
    Posts
    42
    I have the same or similar problem with NextPVR 3.8.3 and "Tuner no longer available" with KODI 17 beta 3.

    First the following relevant events are recorded in NextPVR's web log.

    Code:
    2016-10-11 12:12:50.751	[DEBUG][22]	Got request: Range: bytes=282165248-282198016-8618           
    2016-10-11 12:12:51.000	[ERROR][22]	Unexpected error streaming channel: System.IO.IOException: The volume for a file has been externally altered so that the opened file is no longer valid.
    
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.ReadCore(Byte[] buffer, Int32 offset, Int32 count)
       at System.IO.FileStream.Read(Byte[] array, Int32 offset, Int32 count)
       at NShared.RollingFile.Read(Byte[] buffer, Int32 offset, Int32 bytesToRead)
       at NShared.Streaming.StreamingHelper.StreamNative(Socket conn, Dictionary`2 parameters)
    2016-10-11 12:12:52.001	[DEBUG][22]	StopStream(1507329)...
    2016-10-11 12:12:52.001	[DEBUG][22]	clientHandle[XBMC-f5fb5f69be744b20966016b1fabcab4c] = 1507329
    2016-10-11 12:12:52.001	[DEBUG][22]	Calling StopStream()
    2016-10-11 12:12:53.010	[DEBUG][22]	StopStream() done
    2016-10-11 12:12:53.012	[DEBUG][22]	RollingFile.Close()
    2016-10-11 12:12:53.012	[DEBUG][22]	About to delete temp file: D:\TEMP\live-MSNBC-HD-7036-1-2.ts
    2016-10-11 12:12:53.012	[DEBUG][22]	About to delete temp file: D:\TEMP\live-MSNBC-HD-7036-1.ts
    2016-10-11 12:12:53.025	[DEBUG][22]	Cleaning up: D:\TEMP\live-MSNBC-HD-7036-1.ts
    2016-10-11 12:12:53.030	[DEBUG][22]	Cleaning up: D:\TEMP\live-MSNBC-HD-7036-1.ts
    2016-10-11 12:13:17.225	[DEBUG][19]	Got Web Request (127.0.0.1): /service    method=channel.listings&channel_id=8367&start=1476126797&end=1476472397&sid=f5fb5f69be744b20966016b1fabcab4c
    2016-10-11 12:13:17.225	[DEBUG][19]	method=channel.listings
    2016-10-11 12:13:17.225	[DEBUG][19]	parameters: 
    2016-10-11 12:13:17.225	[DEBUG][19]	   method: channel.listings
    2016-10-11 12:13:17.225	[DEBUG][19]	   channel_id: 8367
    2016-10-11 12:13:17.225	[DEBUG][19]	   start: 1476126797
    2016-10-11 12:13:17.225	[DEBUG][19]	   end: 1476472397
    2016-10-11 12:13:17.225	[DEBUG][19]	   sid: f5fb5f69be744b20966016b1fabcab4c
    2016-10-11 12:13:17.225	[DEBUG][19]	   client_ip: 127.0.0.1
    2016-10-11 12:13:17.225	[DEBUG][19]	   host_callback: 127.0.0.1:8866
    2016-10-11 12:13:17.226	[DEBUG][19]	   physical_path: C:\Users\Public\NPVR\web\
    2016-10-11 12:13:17.226	[DEBUG][19]	   user_agent: Kodi/17.0-BETA2 (Windows NT 10.0; WOW64) App_Bitness/32 Version/17.0-BETA2-Git:20160917-aa5d1e5-dirty
    2016-10-11 12:13:17.226	[DEBUG][19]	   range: bytes=0-
    2016-10-11 12:13:17.226	[DEBUG][19]	   requested_path: /service
    2016-10-11 12:13:17.226	[DEBUG][19]	   verb: GET
    2016-10-11 12:13:17.322	[DEBUG][19]	<?xml version="1.0" encoding="utf-8" ?>
    <rsp stat="failed">
    Then, KODI live TV freezes and sometimes the "Tuner no longer available" message is displayed (and sometimes not). The following relevant events are recorded in the KODI log at this time.

    Code:
    12:12:55 T:4736  NOTICE: CVideoPlayerAudio::Process - stream stalled
    12:12:58 T:4368  NOTICE: Platinum [platinum.core.ctrlpoint]: Inspecting device "898f9738-d930-4db4-a3cf-00133b0c49f0" detected @ http://192.168.1.20:49153/description.xml
    12:13:16 T:4144  NOTICE: CVideoPlayer::CloseFile()
    12:13:16 T:4144  NOTICE: VideoPlayer: waiting for threads to exit
    12:13:16 T:3932 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
    What does "The volume for a file has been externally altered so that the opened file is no longer valid" mean in the NextPVR web log? I think if I prevent that, then I can avoid the "Tuner no longer available" condition.

  8. #8
    Join Date
    May 2006
    Location
    Canada
    Posts
    25,771
    Quote Originally Posted by MrReis View Post
    I have the same or similar problem with NextPVR 3.8.3 and "Tuner no longer available" with KODI 17 beta 3.
    It is not the same problem. The tuner not available message happens to be generic as it really mean any http problem. Personally, I'd like to see all you logs before answering your question but my first thought is you have a problem on the drive that needs attention.

    Martin

  9. #9
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    84,521
    That either looks like your drive is failing, or it's a removable drive that was disconnected or similar. ie, some sort of file system failure. It's unlikely NextPVR would have survived this a critical error like this.
    2016-10-11 12:12:51.000 [ERROR][22] Unexpected error streaming channel: System.IO.IOException: The volume for a file has been externally altered so that the opened file is no longer valid.

  10. #10
    Join Date
    Oct 2013
    Location
    Redwood City, CA USA
    Posts
    42
    Quote Originally Posted by sub View Post
    That either looks like your drive is failing, or it's a removable drive that was disconnected or similar.
    Can you say which drive is failing or is there a way to find out? Would it be the drive where the live TV buffer directory is located?

    Quote Originally Posted by sub View Post
    It's unlikely NextPVR would have survived this a critical error like this.
    I think NextPVR survived this error - the web log continued after the error and I was able to restart the live TV in KODI (without restarting NextPVR).

    Thanks for the reply.

Posting Permissions

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