• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Development Server Development Issue streaming live tv from M3UTunerHost

     
    • 0 Vote(s) - 0 Average

    Issue streaming live tv from M3UTunerHost

    I have set up a Visual Studio project on a local windows box. It works fine and I think I have FFMPEG installed correct as regualr movies and shows work fine.
    c172r_crusty#9441
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2023 Aug
    Reputation: 0
    #1
    2023-08-12, 04:12 PM
    I am looking for help with getting M3U liveTV to work on my windows dev setup. I am able to view channels for my m3u iptv provider and have verified the streams being loaded by jellyfin are valid. I think when the live stream is being loaded / copied to the shared stream there an issue but am not sure based on exception thrown as pretty generic. 

    I have a Visual Studio project runnon on a windows box using the .sln in the git repo. server version is 10.9.0. I was not able to build that project with jellyfin-web served from it so run jellyfin-web seperatly then connect to my local 8096 server from that web client on 8080. not sure I set that up correct for my dev environment but it works. I can use Jellyfin normal with my library files streaming correctly from the web client. I was not able to use the -InstallFFMEPG option on my server but manually downloaded (what I think is correct version) the jellyfin windows compiled FFMPEG and pointed to it from Jellyfin config. I also have number of tunors set to 10 to make sure the code to check that limit is not hit and streaming would occur.

    I have traced as far as 
    Code:
    await StreamHelper.CopyToAsync(
        stream,
        fileStream,
        IODefaults.CopyToBufferSize,
        () => Resolve(openTaskCompletionSource),
        cancellationToken).ConfigureAwait(false);

    in SharedHttpStream.cs and it seems to be where issue starts at - but am not sure. It looks like the code to copy over the stream from the iptv url is not working. I am wondering if there is maybe a 'RAW' mode or something for iptv streams I am not setting? or permissions in windows on target folder? 
    Code:
    [12:57:26] [INF] [69] Emby.Server.Implementations.LiveTv.TunerHosts.M3UTunerHost: Opening SharedHttpStream Live stream from https://lb.privatevps.org/play/<NOTREALURL>MAu_pFImttgCagZVRwrcqya-quaFne6
    [12:57:28] [INF] [60] Emby.Server.Implementations.LiveTv.TunerHosts.M3UTunerHost: Beginning SharedHttpStream stream to C:\Users\windo\AppData\Local\jellyfin\cache\transcodes\0f2d014b559b4199965a41e0750585bb.ts
    [12:57:29] [WRN] [69] Emby.Server.Implementations.LiveTv.TunerHosts.M3UTunerHost: Zero bytes copied from stream SharedHttpStream to C:\Users\windo\AppData\Local\jellyfin\cache\transcodes\0f2d014b559b4199965a41e0750585bb.ts but no exception raised
    [12:57:29] [INF] [60] Emby.Server.Implementations.LiveTv.TunerHosts.M3UTunerHost: Deleting temp file C:\Users\windo\AppData\Local\jellyfin\cache\transcodes\0f2d014b559b4199965a41e0750585bb.ts
    [12:57:30] [ERR] [69] Emby.Server.Implementations.LiveTv.TunerHosts.M3UTunerHost: Error opening tuner
    System.IO.EndOfStreamException: Zero bytes copied from stream SharedHttpStream
      at Emby.Server.Implementations.LiveTv.TunerHosts.SharedHttpStream.Open(CancellationToken openCancellationToken)

    any help would be appreciated.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Issue streaming live tv from M3UTunerHost - by c172r_crusty#9441 - 2023-08-12, 04:12 PM
    RE: Issue streaming live tv from M3UTunerHost - by c172r_crusty#9441 - 2023-08-12, 11:04 PM

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

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode