GithubHelp home page GithubHelp logo

Comments (9)

segator avatar segator commented on August 17, 2024 3

I just did a modification, now should works, let me know if works for you.

from proxylive.

segator avatar segator commented on August 17, 2024

Sorry the doc is out of date, i did some modifications recently to support non tvheadend backends so config is diferent, check this file https://github.com/segator/proxylive/blob/master/src/main/resources/application.yml. I will update docs soon

from proxylive.

segator avatar segator commented on August 17, 2024

Let me know if i can help

from proxylive.

 avatar commented on August 17, 2024

@segator The error regarding host is now solved, but getting a new error:

Caused by: java.lang.Exception: Error loading Picons
at com.github.segator.proxylive.service.ChannelTVHeadendService.buildChannels(ChannelTVHeadendService.java:106) ~[classes!/:1.0-SNAPSHOT]
at com.github.segator.proxylive.service.ChannelTVHeadendService.getDataFromTvheadend(ChannelTVHeadendService.java:184) ~[classes!/:1.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191]

I don't use Picons in my tvheaded configuration. It this the cause?

Here is my application.yml file:

spring.jackson.serialization.INDENT_OUTPUT: true
source:
    tvheadendURL:  http://my_username:[email protected]:9981
    epg:
        #url: http://user:pass@localhost/xmltv.xml or file://path/xmltv.xml exec://usr/bin/tv_grab_whatever
        url: http://my_username:[email protected]:9981/xmltv/channels
        refresh: 600
    channels:
        #url: http://mywebserver/my.json || file://my.json
        #type: json
        url: http://my_username:[email protected]:9981/playlist
        type: tvheadend
        refresh: 300
    reconnectTimeout: 10
streamTimeout: 30
internalConnection: true
ffmpeg:
    path: ffmpeg
    profiles:
        -
            alias: "aac"
            parameters: "-sn -ac 2 -c:a aac -b:a 320k -c:v copy"
        -
            alias: "240p"
            parameters: "-sn -c:a:0 aac -ac 2 -b:a 64k -c:v libx264 -tune zerolatency -g 10 -vprofile high -level 4.0 -crf 18 -movflags +faststart -bufsize 15000k -maxrate 300k  -preset veryslow -vf scale=-1:244,yadif=0"
        -
            alias: "360p"
            parameters: "-sn -c:a:0 aac -ac 2 -b:a 96k -c:v libx264 -tune zerolatency -g 10 -vprofile high -level 4.0 -crf 18 -movflags +faststart -bufsize 15000k -maxrate 700k  -preset veryslow -vf scale=-1:360,yadif=0"
        -
            alias: "480p"
            parameters: "-sn -c:a:0 aac -ac 2 -b:a 196k -c:v libx264 -tune zerolatency -g 10 -vprofile high -level 4.0 -crf 18 -movflags +faststart -bufsize 15000k -maxrate 1500k  -preset slow -vf scale=-1:484,yadif=0"
        -
            alias: "720p"
            parameters: "-sn  -c:a:0 aac -ac 2 -b:a 320k -c:v libx264 -tune zerolatency -g 10 -vprofile high -level 4.0 -crf 18 -movflags +faststart -bufsize 15000k -maxrate 3000k  -preset fast -vf scale=-1:720,yadif=0"
        -
            alias: "1080p"
            parameters:  "-sn  -c:a:0 aac -ac 2 -b:a 320k -c:v libx264 -tune zerolatency -g 300 -vprofile high -level 4.0 -movflags +faststart -bufsize 15000k -maxrate 5000k  -preset faster -vf yadif=0"
    mpegTS:
        parameters: "-threads 0 -f mpegts -mpegts_m2ts_mode 1 -mpegts_copyts 1 -mpegts_flags +resend_headers  "
    hls:
        tempPath: "/tmp"
        parameters: "-flags -global_header  -avoid_negative_ts disabled -map_metadata -1 -start_at_zero -copyts -flags -global_header -vsync cfr -y -nostats -f hls  -hls_time 2 -hls_list_size 10  -hls_flags delete_segments  -hls_flags +append_list -hls_flags +discont_start -hls_flags +delete_segments"
        timeout: 30

buffers:
    chunkSize: 131072
    broadcastBufferSize: 52428800

from proxylive.

segator avatar segator commented on August 17, 2024

weird I tried to load channels with no picon and worked.
Could you send me pictures of your General Tvheadend Configuration "Channel icon/Picon settings"

and Channels user picon. The fix probably will be so easy but first I need to reproduce it.

from proxylive.

 avatar commented on August 17, 2024

Screenshots:

screenshot 2019-02-13 at 18 48 08

screenshot 2019-02-13 at 18 50 02

from proxylive.

segator avatar segator commented on August 17, 2024

I just commit a modification that will show more errors when crash, could you recompile and try the new version, it will crash but at least I will get more details because im not able to reproduce the error with the same configuration that you have.

from proxylive.

 avatar commented on August 17, 2024

Error Log:

Updating Channel Info
Updating Channel:0c1c188089a52b009e0e2abf2a2db8ab
2019-02-13 19:57:39.747 WARN 7 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'streamController': Unsatisfied dependency expressed through field 'channelService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'createChannelService': Invocation of init method failed; nested exception is java.lang.Exception: Error loading Picons error:1 Unknown Code
2019-02-13 19:57:39.751 INFO 7 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2019-02-13 19:57:39.814 INFO 7 --- [ main] utoConfigurationReportLoggingInitializer :

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2019-02-13 19:57:39.831 ERROR 7 --- [ main] o.s.boot.SpringApplication : Application startup failed

from proxylive.

 avatar commented on August 17, 2024

Its working now. Thanks a lot ;)

from proxylive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.