Jump to content

Tvheadend plugin for Emby - Beta 1


Tolotos

Recommended Posts

Tolotos

I don't know if Emby can handle the picon URL. My plugin only reads the value from tvheadend and gives it to Emby. 

 

Can you supply a log with the crash if tvheadend is restarting please? 

Link to comment
Share on other sites

zozotv

2015-04-15 00:00:00.0389 Info - App: Application version: 3.0.5572.0
2015-04-15 00:00:00.0389 Info - App: Emby
    Command line: /opt/mediabrowser/MediaBrowser.Server.Mono.exe -programdata /var/lib/mediabrowser
    Operating system: Unix 3.13.0.46
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: /var/lib/mediabrowser
    Mono: 3.10.0 (tarball Wed Nov  5 12:50:04 UTC 2014)
    Application Path: /opt/mediabrowser/MediaBrowser.Server.Mono.exe
2015-04-15 00:00:00.0389 Info - App: Application configuration:
    {"EnableUPnP":true,"PublicPort":8096,"PublicHttpsPort":8920,"HttpServerPortNumber":8096,"HttpsPortNumber":8920,"EnableHttps":false,"EnableUserSpecificUserViews":false,"EnableInternetProviders":true,"IsPortAuthorized":true,"SeasonZeroDisplayName":"Specials","SaveLocalMeta":false,"EnableLocalizedGuids":true,"EnableLibraryMetadataSubFolder":true,"PreferredMetadataLanguage":"hu","MetadataCountryCode":"HU","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"RealtimeMonitorDelay":30,"EnableDashboardResponseCaching":true,"EnableDashboardResourceMinification":true,"MergeMetadataAndImagesByName":true,"EnableStandaloneMetadata":true,"ImageSavingConvention":"Compatible","MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Movie","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Media Browser Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Series","ImageOptions":[{"Type":"Backdrop","Limit":2,"MinWidth":1280},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Media Browser Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Media Browser Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Media Browser Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280}],"DisabledMetadataSavers":["Media Browser Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Episode","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Media Browser Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicVideo","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Media Browser Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Video","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Media Browser Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableAutomaticRestart":true,"EnableRealtimeMonitor":true,"PathSubstitutions":[],"ServerName":"zozotv","UICulture":"hu","PeopleMetadataOptions":{"DownloadActorMetadata":true,"DownloadDirectorMetadata":true,"DownloadProducerMetadata":false,"DownloadWriterMetadata":false,"DownloadComposerMetadata":false,"DownloadOtherPeopleMetadata":false,"DownloadGuestStarMetadata":false},"FindInternetTrailers":true,"InsecureApps8":["Chromecast","iOS","Unknown app","MediaPortal","Media Portal","iPad","iPhone","Roku","Windows Phone"],"SaveMetadataHidden":false,"ContentTypes":[],"EnableAudioArchiveFiles":false,"EnableVideoArchiveFiles":false,"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":true,"CachePath":""}
2015-04-15 00:00:00.0389 Info - App: Plugins:
    Beeg 1.0.5448.33320
    TVHclient 1.0.5579.39300
2015-04-15 00:00:00.0389 Info - App: Start new log file Completed after 0 minute(s) and 0 seconds
2015-04-15 00:59:59.9995 Info - App: DailyTrigger fired for task: Chapter image extraction
2015-04-15 00:59:59.9995 Info - App: Queueing task ChapterImagesTask
2015-04-15 00:59:59.9995 Info - App: Executing Chapter image extraction
2015-04-15 01:00:00.0920 Info - App: Stopping chapter extraction for A rettenthetetlen because a chapter was found with a position greater than the runtime.
2015-04-15 01:00:00.1336 Info - App: Chapter image extraction Completed after 0 minute(s) and 0 seconds
2015-04-15 02:21:38.6602 Info - App: IntervalTrigger fired for task: Download channel content
2015-04-15 02:21:38.6602 Info - App: Queueing task ChannelDownloadScheduledTask
2015-04-15 02:21:38.6602 Info - App: Executing Download channel content
2015-04-15 02:21:38.6643 Info - App: IntervalTrigger fired for task: Convert media
2015-04-15 02:21:38.6643 Info - App: Queueing task SyncConvertScheduledTask
2015-04-15 02:21:38.6776 Info - App: Download channel content Completed after 0 minute(s) and 0 seconds
2015-04-15 02:21:38.7319 Info - App: Executing Convert media
2015-04-15 02:21:38.7319 Info - App: Convert media Completed after 0 minute(s) and 0 seconds
2015-04-15 02:21:43.7163 Info - App: HttpClientManager GET: http://bot.whatismyipaddress.com/
2015-04-15 02:21:44.5770 Info - App: HttpClientManager POST: https://connect.mediabrowser.tv/service/Servers?id=d8a2b91e65646d03f7b0ff31494b7ce6
2015-04-15 02:21:44.7953 Info - App: HttpClientManager GET: https://connect.mediabrowser.tv/service/ServerAuthorizations?serverId=d8a2b91e65646d03f7b0ff31494b7ce6
2015-04-15 02:59:59.9996 Info - App: DailyTrigger fired for task: Refresh people
2015-04-15 02:59:59.9996 Info - App: Queueing task PeopleValidationTask
2015-04-15 02:59:59.9996 Info - App: Executing Refresh people
2015-04-15 02:59:59.9998 Info - App: DailyTrigger fired for task: Download missing subtitles
2015-04-15 02:59:59.9998 Info - App: Queueing task SubtitleScheduledTask
2015-04-15 03:00:07.8048 Info - App: People validation complete
2015-04-15 03:00:07.8953 Info - App: Refresh people Completed after 0 minute(s) and 7 seconds
2015-04-15 03:00:07.9888 Info - App: Executing Download missing subtitles
2015-04-15 03:00:07.9911 Info - App: Download missing subtitles Completed after 0 minute(s) and 0 seconds
2015-04-15 03:21:38.6609 Info - App: IntervalTrigger fired for task: Refresh Guide
2015-04-15 03:21:38.6609 Info - App: Queueing task RefreshChannelsScheduledTask
2015-04-15 03:21:38.6609 Info - App: Executing Refresh Guide
 

2015-04-15 19:21:43.1070 Error - App: Error in Live TV Service Provider
    *** Error Report ***
    Version: 3.0.5572.0
    Command line: /opt/mediabrowser/MediaBrowser.Server.Mono.exe -programdata /var/lib/mediabrowser
    Operating system: Unix 3.13.0.46
    Processor count: 4
    64-Bit OS: True
    64-Bit Process: True
    Program data path: /var/lib/mediabrowser
    Mono: 3.10.0 (tarball Wed Nov  5 12:50:04 UTC 2014)
    Application Path: /opt/mediabrowser/MediaBrowser.Server.Mono.exe
    Invalid URI: The URI scheme is not valid.
    System.UriFormatException
      at System.Uri.Parse (UriKind kind, System.String uriString) [0x00000] in <filename unknown>:0
      at System.Uri.ParseUri (UriKind kind) [0x00000] in <filename unknown>:0
      at System.Uri..ctor (System.String uriString, Boolean dontEscape) [0x00000] in <filename unknown>:0
      at System.Uri..ctor (System.String uriString) [0x00000] in <filename unknown>:0
      at System.Net.WebRequest.Create (System.String requestUriString) [0x00000] in <filename unknown>:0
      at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.GetRequest (MediaBrowser.Common.Net.HttpRequestOptions options, System.String method, Boolean enableHttpCompression) [0x00000] in <filename unknown>:0
      at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager+<SendAsyncInternal>c__async4.MoveNext () [0x00000] in <filename unknown>:0
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Common.Net.HttpResponseInfo].GetResult () [0x00000] in <filename unknown>:0
      at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager+<SendAsync>c__async1.MoveNext () [0x00000] in <filename unknown>:0
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Common.Net.HttpResponseInfo].GetResult () [0x00000] in <filename unknown>:0
      at MediaBrowser.Server.Implementations.LiveTv.ChannelImageProvider+<GetImage>c__async0.MoveNext () [0x00000] in <filename unknown>:0
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Controller.Providers.DynamicImageResponse].GetResult () [0x00000] in <filename unknown>:0
      at MediaBrowser.Providers.Manager.ItemImageProvider+<RefreshFromProvider>c__async1.MoveNext () [0x00000] in <filename unknown>:0
    
2015-04-15 19:26:43.1647 Error - App: [TVHclient] SendingHandler caught exception : System.Net.Sockets.SocketException: The socket has been shut down
  at System.Net.Sockets.Socket.Send (System.Byte[] buf) [0x00000] in <filename unknown>:0
  at TVHeadEnd.HTSP.HTSConnectionAsync.SendingHandler () [0x00000] in <filename unknown>:0
2015-04-15 19:26:43.1770 Error - App: [TVHclient] HTSP error: The socket has been shut down
2015-04-15 20:21:43.7271 Info - App: HttpClientManager GET: http://bot.whatismyipaddress.com/
2015-04-15 20:21:45.0166 Info - App: HttpClientManager POST: https://connect.mediabrowser.tv/service/Servers?id=d8a2b91e65646d03f7b0ff31494b7ce6
2015-04-15 20:21:45.1845 Info - App: HttpClientManager GET: https://connect.mediabrowser.tv/service/ServerAuthorizations?serverId=d8a2b91e65646d03f7b0ff31494b7ce6
2015-04-15 20:22:08.6654 Info - App: IntervalTrigger fired for task: Download channel content
2015-04-15 20:22:08.6654 Info - App: Queueing task ChannelDownloadScheduledTask
2015-04-15 20:22:08.6654 Info - App: Executing Download channel content
2015-04-15 20:22:08.6726 Info - App: Download channel content Completed after 0 minute(s) and 0 seconds
2015-04-15 20:22:08.7922 Info - App: IntervalTrigger fired for task: Convert media
2015-04-15 20:22:08.7922 Info - App: Queueing task SyncConvertScheduledTask
2015-04-15 20:22:08.7922 Info - App: Executing Convert media
2015-04-15 20:22:08.7980 Info - App: Convert media Completed after 0 minute(s) and 0 seconds
2015-04-15 20:36:33.7474 Info - App: Opening channel stream from TVHclient, external channel Id: 422631895
 

Link to comment
Share on other sites

Tolotos

New version in the repo which checks if the channel icon is a valid http url.

  • Like 1
Link to comment
Share on other sites

hpmueller1

Hi Tolotos,

 

many, many thanks for this plugin; if you add a donation url to it, i'll happily send a few bucks!

 

New version in the repo which checks if the channel icon is a valid http url.

 

am i understanding you correctly, that you are retrieving the url to the icon that's directly entered into the wegbui, ie "http://tv-server/TV/ard.png" like in posting #49...?

 

If that's the case, this is not the recomended way, this way you only get something usable if it's an http:// url like in your example, but tvheadend 3.9 supports, in addition to http://-links, special autogenerated user icons like the channel-name-auto-assigning (ie file:///home/.hts/tvheadend/icons/das_erste_hd.png) and picons (based on DVB-Transponder-IDs) that are all also cached by tvheadend.

 

There's an htsp method (https://tvheadend.org/projects/tvheadend/wiki/Htsp) to retreive a url from tvheadend:

 

channelIcon        str   optional   URL to an icon representative for the channel
                                    (For v8+ clients this could be a relative /imagecache/ID URL
                                     intended to be fed to fileOpen() or HTTP server)
                                    (For v15+ clients this could be a relative imagecache/ID URL
                                     intended to be fed to fileOpen() or HTTP server)

 

This will return something like "http://tvheadendserver:9981/imagecache/406", regardless of which system (direct http://-links name-icons, picons) you're using...

 

regards,

 

/hp

Edited by hpmueller1
Link to comment
Share on other sites

davedick

Hello,

 

For the user name & password, does it have to match the Windows user name / password or EMBY's user name & password  or can I pick one?

 

When I didn't have a username & password configured in TVH, when I selected live TV (under extras), it said that I needed to enter in a username & password.  After I do that, if I try clicking on Live TV again (under extras) nothing comes up

 

If I look at the log, this is what I'm seeing

 

015-04-16 09:34:57.2377 Debug - HttpServer: HTTP Response 200 to 127.0.0.1. Response time: 2.0001 ms.
 Url: http://localhost:8096/ScheduledTasks?IsEnabled=true&_=1429202056984
2015-04-16 09:34:59.2388 Error - App: [TVHclient] HTSConnectionAsync.open: caught exception : An address incompatible with the requested protocol was used [::1]:9982
2015-04-16 09:35:01.2389 Error - App: [TVHclient] HTSConnectionAsync.open: caught exception : An address incompatible with the requested protocol was used [::1]:9982
2015-04-16 09:35:03.2390 Error - App: [TVHclient] HTSConnectionAsync.open: caught exception : An address incompatible with the requested protocol was used [::1]:9982
2015-04-16 09:35:05.2391 Error - App: [TVHclient] HTSConnectionAsync.open: caught exception : An address incompatible with the requested protocol was used [::1]:9982
 

Link to comment
Share on other sites

Tolotos

...

 

This will return something like "http://tvheadendserver:9981/imagecache/406", regardless of which system (direct http://-links name-icons, picons) you're using...

 

...

 

 

Your right tvheadend can deal with other "icon-path" values. But we must look at both sides. Emby can only display icons from a http:// url.

Link to comment
Share on other sites

that isn't true. in channel properties you can set HasImage=true, then you can have the GetChannelImageAsync method pull the image from any source you want.

  • Like 1
Link to comment
Share on other sites

Tolotos

@davedick: You can configure a user/password at the tvheadend gui. This user/password must be used in the plugin.

 

IPv6 is currently not supported. Can you try the attached version if IPv6 is now working?

 

 

 

TVHeadEnd.zip

Link to comment
Share on other sites

Tolotos

that isn't true. in channel properties you can set HasImage=true, then you can have the GetChannelImageAsync method pull the image from any source you want.

 

Ok, I must look into this. 

 

EDIT:

 

Can someone explain me how the picon://.... 'url' works and give a sample file for implementation test please?

Edited by Tolotos
Link to comment
Share on other sites

KingDaveRa

Thanks @@Tolotos for writing this plugin. It's a really good start and probably most of the functionality is all in place, which is pretty impressive!

 

I've got a slightly odd issue right now, which I thought worth reporting. System specs:

 

Server is  Ubuntu 14.10 (server), 64-bit. Mono JIT compiler version 3.10.0. Emby is Version 3.0.5572.0, and TVheadend is 3.9.2689~g14f03b8~utopic (nightlies... I like to live dangerously...)

 

My TVH setup is running two tuners, one DVB-T, the other DVB-S, so all together there's something approaching 2000 channels. I first let Emby have all of this, but it didn't seem to like it much (big surprise!), so I started again by giving emby it's own login user, and only allowing that user to access specific tagged channels. I started small, as bulk updating channels is difficult, so I just added four channels. These were pulled into Emby no problem, EPG data was populated and so on.

 

Having seen this work, I then proceeded to tag the rest of the channels. However, they aren't appearing in Emby at all. I restarted Emby, but still no sign of those channels. I left it 24 hours, and came back to it today, and I noticed there's a refresh EPG data button, but it's greyed out for me:

 

5530124f61168_2015041620_49_14LiveTV.jpg

 

The bar seems to be moving, but not much is happening, and the rest of the EPG data has disappeared!

 

I'll go digging for logs when I find where they are.

Link to comment
Share on other sites

hpmueller1

Your right tvheadend can deal with other "icon-path" values. But we must look at both sides. Emby can only display icons from a http:// url.

 

Yeah, that was my point, the method in tvheadend returns a http:// url to the tvheadend-http-server *no matter* if you use a http:// url, a picon:// url, or a local channel icon. For example, i have configured General -> Picon -> Channel icon path -> "file:///home/hts/.hts/tvheadend/logos/%C.png". For the channel "Das Erste HD", this shows up as "file:///home/hts/.hts/tvheadend/logos/das_erste_hd.png" in the tvheadend-User-Icon-Field, but when kodi asks for the url, it get's "http://tvheadendserver:9981/imagecache/406" as an answer (if you have image caching in tvheadend enabled)...

 

I've just noted that you seem to use tvheadend 3.4, there is no support for picons (but i think there already was support for image caching, in which case you should also get a http-url to the tvheadendserver instead of the configured url, there are various mentionings of this in https://tvheadend.org/projects/tvheadend/wiki/Htsp)

 

Please also note, i'm not a real programmer (more cut'n'paste-programming™ :))so i might be wrong on many/all things i wrote ;)

 

/hp

Edited by hpmueller1
Link to comment
Share on other sites

  • 2 weeks later...
Damstas

 

First SENSATIONAL this plugin!
   Now one thing that I find very cool, but not catching this nice to me. è pull data of the film on the internet!
 

 

Would also love to have this. Aren't Schedules Direct images supported?

Link to comment
Share on other sites

sphere

Just installed your plugin. I'm currently running "HTS Tvheadend 3.9.2747~g3049486-dirty" with native HDHomeRun support enabled. 

 

After configuring, the plugin doesn't output anything. Log says:

 

2015-04-28 18:57:35.7084 Info - App: [TVHclient] LiveTvService.ensureConnection: Priority was out of range [0-4] - set to 2
2015-04-28 18:57:35.7084 Info - App: [TVHclient] HTSConnectionAsync.open: socket connected.
2015-04-28 18:57:35.7084 Info - App: [TVHclient] HTSConnectionAsync.authenticate: start
2015-04-28 18:57:35.7284 Info - App: [TVHclient] HTSConnectionAsync.authenticate: authenticated = True
2015-04-28 18:57:35.7284 Info - App: [TVHclient] LiveTvService.ensureConnection: connection established True
2015-04-28 18:57:35.7384 Error - App: [TVHclient] HTSP error: Arithmetic operation resulted in an overflow.
 
I also tried the newer revision 1.0.5584.34789 you posted on April, 16th.
Link to comment
Share on other sites

Tolotos

Would also love to have this. Aren't Schedules Direct images supported?

 

My overview look like the attached screenshot. 

post-5739-0-07551500-1430331754_thumb.png

Link to comment
Share on other sites

sphere

@@sphere can you please try this version. It should give a stack trace in the log showing the code the arithmetic exception occur. 

 

Thanks, Tolotos. Here is the log:

2015-04-29 20:34:14.7779 Info - App: [TVHclient] LiveTvService.ensureConnection: Priority was out of range [0-4] - set to 2
2015-04-29 20:34:14.7919 Info - App: [TVHclient] HTSConnectionAsync.open: socket connected.
2015-04-29 20:34:14.7989 Info - App: [TVHclient] HTSConnectionAsync.authenticate: start
2015-04-29 20:34:14.8199 Info - App: StartupTrigger fired for task: Scan media library
2015-04-29 20:34:14.8199 Info - App: Queueing task RefreshMediaLibraryTask
2015-04-29 20:34:14.8199 Info - App: [TVHclient] HTSConnectionAsync.authenticate: authenticated = True
2015-04-29 20:34:14.8199 Info - App: [TVHclient] LiveTvService.ensureConnection: connection established True
2015-04-29 20:34:14.8409 Info - App: Executing Check for plugin updates
2015-04-29 20:34:14.8449 Error - App: [TVHclient] HTSP error: Arithmetic operation resulted in an overflow.
	*** Error Report ***
	Version: 3.0.5588.1
	Command line: C:\Users\werner\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.2.9200.0
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\werner\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\werner\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Arithmetic operation resulted in an overflow.
	System.OverflowException
	   at System.Numerics.BigInteger.op_Explicit(BigInteger value)
	   at TVHeadEnd.HTSP.HTSMessage.getInt(String name)
	   at TVHeadEnd.DataHelper.ChannelDataHelper.add(HTSMessage message)
	   at TVHeadEnd.LiveTvService.onMessage(HTSMessage response)
	   at TVHeadEnd.HTSP.HTSConnectionAsync.MessageDistributor()
	
Link to comment
Share on other sites

Tolotos

@@sphere That's really bad. In the ChannelDataHelper.add method only the channelID and channelNumber is accessed. Both are defined in the TVHeadend documentation as int values.

Can you please look in your TVHeadend web-frontend if the channel numbers and channelIDs are not numbers.

If you don't have much channels can you publish a screenshot of the TVHeadend channel page please?

Link to comment
Share on other sites

KingDaveRa

Just a little update on my own issue - it righted itself almost the next day. It's working quite well now!

 

This plugin is really excellent!

  • Like 1
Link to comment
Share on other sites

Tolotos

Just a little update on my own issue - it righted itself almost the next day. It's working quite well now!

 

This plugin is really excellent!

 

@@KingDaveRa Nice to hear. The above version (post #67) reconnects faster if there is an network error. But the grayed out button is Emby witch is waiting for an internal time out. Currently I try to figure out if I can retrigger the update faster. 

Edited by Tolotos
  • Like 1
Link to comment
Share on other sites

sphere

@Tolotos: Thanks, the issue was with the cannel numbers in my case. TVheadend had (automatically -- some setting, I guess) assigned channel numbers containing dots ("."). After manually renumbering the channels, Emby can now connect to TVheadend. Channels and EPG information appear correctly. Actual video doesn't work yet -- I'll take a look at that another day. Thanks for your help!

  • Like 1
Link to comment
Share on other sites

rudi6382

hi,

 

on my configuration the plugin stucks when refreshing the guide (status bar at 9.0%). i aslready tried different releases of the tvh-plugin. the last i tried was the plugin given to us by Tolotos on 29th of april.

 

Attached you can find my log

Maybe someone has a solution to solve my problem...

 

Rudi

log.txt

Link to comment
Share on other sites

Tolotos

@@rudi6382 Your log is full of

 

Error - App: [TVHclient] HTSConnectionAsync.open: caught exception : No route to host

 

Please check if you have configured your tvheadend servername / serverip correct. 

If you have the possibility to use a console please try

 

ping <name/ip of your tvheadend server>

 

Tolotos

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...