Tolotos 61 Posted December 14, 2015 Author Share Posted December 14, 2015 Thank you for the reply. Link to comment Share on other sites More sharing options...
Azelphur 1 Posted December 24, 2015 Share Posted December 24, 2015 Hi folks. Trying to get TVHeadEnd working inside Emby. The TVHeadEnd server should be configured correctly (I can access TVHeadEnds web panel, and stream live television) However, from inside Emby. I get some weird behaviour. There are no channels, it seems like Emby is unable to communicate with TVHeadEnd at all. Many of the settings menus don't load, or load incorrectly. I've noticed this error in my log file, which I think is the culprit. 2015-12-24 19:20:41.5849 Info HttpServer: HTTP Response 204 to 192.168.1.41. Time: 20ms. http://server:8096/emby/Sessions/Capabilities/Full 2015-12-24 19:20:41.5950 Error App: [TVHclient] HTSP error: Arithmetic operation resulted in an overflow. *** Error Report *** Version: 3.0.5781.9 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 4.2.0.22 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 4.2.1 (Stable 4.2.1.102/6dd2d0d Sun Nov 29 22:27:02 UTC 2015) Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe Arithmetic operation resulted in an overflow. System.OverflowException at System.Numerics.BigInteger.op_Explicit (BigInteger value) <0x414c5e00 + 0x00051> in <filename unknown>:0 at TVHeadEnd.HTSP.HTSMessage.getInt (System.String name) <0x414c5b40 + 0x0002b> in <filename unknown>:0 at TVHeadEnd.DataHelper.ChannelDataHelper.add (TVHeadEnd.HTSP.HTSMessage message) <0x414c9650 + 0x002df> in <filename unknown>:0 at TVHeadEnd.LiveTvService.onMessage (TVHeadEnd.HTSP.HTSMessage response) <0x414c80c0 + 0x00397> in <filename unknown>:0 at TVHeadEnd.HTSP.HTSConnectionAsync.MessageDistributor () <0x414bf4c0 + 0x00253> in <filename unknown>:0 Thanks in advance for any assistance. Link to comment Share on other sites More sharing options...
freebs 2 Posted December 24, 2015 Share Posted December 24, 2015 (edited) I too have experienced the same thing. I can no longer edit my settings in the GUI. Although mine streams fine, but I think that's because I've had mine setup for months now. I get the spinning wheel while trying to access Tvheadend settings page. I hit save on that page and here is my error. Error Code InvalidOperationException Message Sequence contains no matching element Stack Trace [GetDashboardConfigurationPage: 12/24/2015 7:32:43 PM]: [REQUEST: {}] System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.First[TSource] (IEnumerable`1 source, System.Func`2 predicate) <0x41202210 + 0x000ff> in <filename unknown>:0 at MediaBrowser.WebDashboard.Api.DashboardService.Get (MediaBrowser.WebDashboard.Api.GetDashboardConfigurationPage request) <0x41201e50 + 0x001a7> in <filename unknown>:0 at (wrapper dynamic-method) System.Object:lambda_method (System.Runtime.CompilerServices.Closure,object,object) at ServiceStack.Host.ServiceRunner`1[TRequest].Execute (IRequest request, System.Object instance, ServiceStack.Host.TRequest requestDto) <0x405765c0 + 0x003d4> in <filename unknown>:0 I hope this gives you an idea of what is happening. On latest emby-server on linux Version 3.0.5781.9 TVHclient 1.0.5628.29938 Oh and I would like this issue fixed before end of day today.. thank you in advance!! lmao... just kidding.. Happy Holidays to Everyone! Edited December 24, 2015 by freebs Link to comment Share on other sites More sharing options...
Tolotos 61 Posted December 25, 2015 Author Share Posted December 25, 2015 (edited) Please check if your channel numbers are realy numbers. Can you post the complete log please? Which version of TV-Headend (not the plugin, the server software) are you using? --Tolotos Edited December 25, 2015 by Tolotos Link to comment Share on other sites More sharing options...
Azelphur 1 Posted December 26, 2015 Share Posted December 26, 2015 I can't seem to replicate the arithmetic issue, however here is a debug log where I... Start the emby-server Attempt to access TVHeadEnd settings (/web/ConfigurationPage?name=TVHclient) Wait for around 30 seconds with the spinning animation showing Stop the emby-server Here is the full log for the above. 2015-12-26 14:03:37.9651 Info Main: Emby Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 4.2.0.22 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 4.2.1 (Stable 4.2.1.102/6dd2d0d Sun Nov 29 22:27:02 UTC 2015) Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe 2015-12-26 14:03:38.1971 Info App: Application version: 3.0.5781.9 2015-12-26 14:03:38.2536 Info App: Application configuration: {"EnableUPnP":true,"PublicPort":8096,"PublicHttpsPort":8920,"HttpServerPortNumber":8096,"HttpsPortNumber":8920,"EnableHttps":false,"EnableInternetProviders":true,"IsPortAuthorized":true,"SeasonZeroDisplayName":"Specials","SaveLocalMeta":true,"EnableLocalizedGuids":true,"DisableStartupScan":true,"EnableUserViews":true,"EnableLibraryMetadataSubFolder":true,"PreferredMetadataLanguage":"en","MetadataCountryCode":"GB","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"RealtimeLibraryMonitorDelay":40,"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":1,"MinWidth":1280},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicVideo","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Series","ImageOptions":[{"Type":"Backdrop","Limit":1,"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":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby 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},{"Type":"Logo","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"BoxSet","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Banner","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Thumb","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":["TheMovieDb"],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Episode","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280},{"Type":"Primary","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":["TheMovieDb"],"ImageFetcherOrder":[]},{"ItemType":"Video","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableAutomaticRestart":true,"PathSubstitutions":[],"UICulture":"en-GB","PeopleMetadataOptions":{"DownloadActorMetadata":true,"DownloadDirectorMetadata":true,"DownloadProducerMetadata":false,"DownloadWriterMetadata":false,"DownloadComposerMetadata":false,"DownloadOtherPeopleMetadata":false,"DownloadGuestStarMetadata":false},"FindInternetTrailers":true,"InsecureApps9":["Windows Phone"],"SaveMetadataHidden":false,"ContentTypes":[],"EnableAudioArchiveFiles":false,"EnableVideoArchiveFiles":false,"RemoteClientBitrateLimit":0,"DenyIFrameEmbedding":true,"EnableLibraryMonitor":"Auto","SharingExpirationDays":30,"DisableXmlSavers":true,"EnableWindowsShortcuts":false,"EnableVideoFrameByFrameAnalysis":false,"EnableDateLastRefresh":true,"Migrations":["5767.1"],"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"SystemUpdateLevel":"Release","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":true,"EnableCustomPathSubFolders":true} 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.Plugins.PushBulletNotifications, Version=3.0.5810.33455, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading TVHeadEnd, Version=1.0.5628.29938, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.Api, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.WebDashboard, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.Model, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.Common, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.Controller, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.Providers, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.Common.Implementations, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.Server.Implementations, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.MediaEncoding, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.Dlna, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.LocalMetadata, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.XbmcMetadata, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.IsoMounting.Linux, Version=1.0.5131.24779, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.Server.Mono, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.2612 Info App: Loading MediaBrowser.Server.Startup.Common, Version=3.0.5781.9, Culture=neutral, PublicKeyToken=null 2015-12-26 14:03:38.3289 Info SqliteUserRepository: Sqlite 3.8.11.1 opening /var/lib/emby-server/data/users.db 2015-12-26 14:03:38.3840 Info SqliteFileOrganizationRepository: Sqlite 3.8.11.1 opening /var/lib/emby-server/data/fileorganization.db 2015-12-26 14:03:38.3892 Info AuthenticationRepository: Sqlite 3.8.11.1 opening /var/lib/emby-server/data/authentication.db 2015-12-26 14:03:38.3984 Info SyncRepository: Sqlite 3.8.11.1 opening /var/lib/emby-server/data/sync14.db 2015-12-26 14:03:38.4425 Info ImageMagick: ImageMagick version: ImageMagick 6.9.1-2 Q8 x86_64 2015-06-02 http://www.imagemagick.org 2015-12-26 14:03:38.4745 Info ImageProcessor: ImageProcessor started with 4 max concurrent image processes 2015-12-26 14:03:38.5151 Info App: FFMpeg: /var/lib/emby-server/ffmpeg/20150917/ffmpeg 2015-12-26 14:03:38.5151 Info App: FFProbe: /var/lib/emby-server/ffmpeg/20150917/ffprobe 2015-12-26 14:03:38.5151 Info SharingRepository: Sqlite 3.8.11.1 opening /var/lib/emby-server/data/shares.db 2015-12-26 14:03:38.5292 Info ActivityRepository: Sqlite 3.8.11.1 opening /var/lib/emby-server/data/activitylog.db 2015-12-26 14:03:38.5329 Warn App: ffmpeg is missing decoder h264_qsv 2015-12-26 14:03:38.5353 Info SqliteDisplayPreferencesRepository: Sqlite 3.8.11.1 opening /var/lib/emby-server/data/displaypreferences.db 2015-12-26 14:03:38.5385 Warn App: ffmpeg is missing decoder mpeg2_qsv 2015-12-26 14:03:38.5390 Info SqliteItemRepository: Sqlite 3.8.11.1 opening /var/lib/emby-server/data/library.db 2015-12-26 14:03:38.5443 Warn App: ffmpeg is missing decoder vc1_qsv 2015-12-26 14:03:38.5498 Info SqliteProviderInfoRepository: Sqlite 3.8.11.1 opening /var/lib/emby-server/data/refreshinfo.db 2015-12-26 14:03:38.5556 Info SqliteUserDataRepository: Sqlite 3.8.11.1 opening /var/lib/emby-server/data/userdata_v2.db 2015-12-26 14:03:38.5614 Info SqliteNotificationsRepository: Sqlite 3.8.11.1 opening /var/lib/emby-server/data/notifications.db 2015-12-26 14:03:38.7799 Info HttpServer: Calling ServiceStack AppHost.Init 2015-12-26 14:03:40.9768 Info ServiceStackHost: Initializing Application took 2564.991ms 2015-12-26 14:03:40.9905 Info ServerManager: Loading Http Server 2015-12-26 14:03:40.9931 Info HttpServer: attempting to load pfx: /var/lib/emby-server/ssl/cert_9c31b7884ea5475c8687970fc5996297.pfx 2015-12-26 14:03:41.0129 Info HttpServer: Adding HttpListener prefix http://+:8096/ 2015-12-26 14:03:41.0133 Info HttpServer: Adding HttpListener prefix https://+:8920/ 2015-12-26 14:03:41.2298 Info App: [TVHclient] LiveTvService.createHTSConnection() 2015-12-26 14:03:41.2945 Info App: Core startup complete 2015-12-26 14:03:41.3335 Info SsdpHandler: MultiCast socket created 2015-12-26 14:03:41.4779 Info App: HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/validate 2015-12-26 14:03:41.8267 Info App: HttpClientManager POST: https://connect.emby.media/service/Servers?id=ae2185d16574650be335096762b86703 2015-12-26 14:03:41.9087 Info App: HttpClientManager GET: http://emby.media/community/index.php?/blog/rss/1-media-browser-developers-blog 2015-12-26 14:03:41.9087 Info App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3ServerNotifications.json 2015-12-26 14:03:41.9456 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/ConfigurationPage?name=TVHclient. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:41.9821 Info App: HttpClientManager GET: https://connect.emby.media/service/ServerAuthorizations?serverId=ae2185d16574650be335096762b86703 2015-12-26 14:03:42.0531 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 61ms. http://192.168.1.12:8096/web/ConfigurationPage?name=TVHclient 2015-12-26 14:03:42.1103 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/requirejs/require.js. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.1133 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 3ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/requirejs/require.js 2015-12-26 14:03:42.2751 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-drawer-panel/paper-drawer-panel.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.2751 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-drawer-panel/paper-drawer-panel.html 2015-12-26 14:03:42.3010 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/polymer/polymer.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.3010 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/polymer/polymer.html 2015-12-26 14:03:42.3355 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-media-query/iron-media-query.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.3363 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-media-query/iron-media-query.html 2015-12-26 14:03:42.3582 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-resizable-behavior/iron-resizable-behavior.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.3582 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-selector/iron-selector.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.3582 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/polymer/polymer-mini.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.3595 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-selector/iron-selector.html 2015-12-26 14:03:42.3595 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-resizable-behavior/iron-resizable-behavior.html 2015-12-26 14:03:42.3595 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/polymer/polymer-mini.html 2015-12-26 14:03:42.6215 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-selector/iron-multi-selectable.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.6215 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/polymer/polymer-micro.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.6224 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-selector/iron-multi-selectable.html 2015-12-26 14:03:42.6224 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/polymer/polymer-micro.html 2015-12-26 14:03:42.6508 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-selector/iron-selectable.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.6515 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-selector/iron-selectable.html 2015-12-26 14:03:42.6858 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-selector/iron-selection.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.6865 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-selector/iron-selection.html 2015-12-26 14:03:42.8636 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/emby-icons/emby-icons.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.8643 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/emby-icons/emby-icons.html 2015-12-26 14:03:42.8668 Info HttpServer: HTTP GET http://192.168.1.12:8096/emby/Branding/Css?v=3.0.5781.9. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.8668 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-button/paper-button.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.8670 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-icon-button/paper-icon-button.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.8670 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-button/paper-button.html 2015-12-26 14:03:42.8670 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-icon-button/paper-icon-button.html 2015-12-26 14:03:42.8703 Info HttpServer: HTTP Response 200 to 192.168.1.12. Time: 3ms. http://192.168.1.12:8096/emby/Branding/Css?v=3.0.5781.9 2015-12-26 14:03:42.8929 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-icon/iron-icon.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.8936 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-icon/iron-icon.html 2015-12-26 14:03:42.9383 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-material/paper-material.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.9383 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-iconset-svg/iron-iconset-svg.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:42.9391 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-iconset-svg/iron-iconset-svg.html 2015-12-26 14:03:42.9391 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-material/paper-material.html 2015-12-26 14:03:43.1997 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-ripple/paper-ripple.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.1997 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-behaviors/paper-button-behavior.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.2004 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-ripple/paper-ripple.html 2015-12-26 14:03:43.2004 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-behaviors/paper-button-behavior.html 2015-12-26 14:03:43.2352 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-styles/default-theme.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.2352 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-flex-layout/iron-flex-layout.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.2352 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-flex-layout/iron-flex-layout.html 2015-12-26 14:03:43.2352 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-styles/default-theme.html 2015-12-26 14:03:43.2376 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-behaviors/paper-inky-focus-behavior.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.2376 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-meta/iron-meta.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.2381 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 0ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-meta/iron-meta.html 2015-12-26 14:03:43.2381 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-behaviors/paper-inky-focus-behavior.html 2015-12-26 14:03:43.2552 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-styles/shadow.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.2552 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-material/paper-material-shared-styles.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.2560 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-styles/shadow.html 2015-12-26 14:03:43.2560 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-material/paper-material-shared-styles.html 2015-12-26 14:03:43.2646 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-behaviors/iron-button-state.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.2652 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 0ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-behaviors/iron-button-state.html 2015-12-26 14:03:43.2677 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-behaviors/paper-ripple-behavior.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.2684 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-behaviors/paper-ripple-behavior.html 2015-12-26 14:03:43.2840 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.2840 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html 2015-12-26 14:03:43.3134 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-behaviors/iron-control-state.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.3141 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/iron-behaviors/iron-control-state.html 2015-12-26 14:03:43.6905 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-spinner/paper-spinner.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.6905 Info HttpServer: WS ws://192.168.1.12:8096/?api_key=4807abdbfadf42ec946633eb15723d85&deviceId=3452AA949F1940F29118DDD2DF0D81A6. UserAgent: 2015-12-26 14:03:43.6912 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-spinner/paper-spinner.html 2015-12-26 14:03:43.7051 Info HttpServer: HTTP POST http://192.168.1.12:8096/mediabrowser/Sessions/Capabilities/Full. UserAgent: 2015-12-26 14:03:43.7166 Info HttpServer: HTTP GET http://192.168.1.12:8096/emby/Plugins/95732bbe-15ed-4293-bab2-e056ccc50159/Configuration. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.7175 Info HttpServer: HTTP GET http://192.168.1.12:8096/emby/System/Info. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.7354 Info HttpServer: HTTP GET http://192.168.1.12:8096/emby/Users/58f3d355745647a9a1954366442ebb64. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.7380 Info HttpServer: HTTP GET http://192.168.1.12:8096/emby/Notifications/58f3d355745647a9a1954366442ebb64/Summary. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.7423 Info App: HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/ping 2015-12-26 14:03:43.7479 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 31ms. http://192.168.1.12:8096/emby/Plugins/95732bbe-15ed-4293-bab2-e056ccc50159/Configuration 2015-12-26 14:03:43.7481 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-styles/color.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.7492 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-styles/color.html 2015-12-26 14:03:43.7577 Info HttpServer: HTTP GET http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-spinner/paper-spinner-styles.html. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:43.7584 Info HttpServer: HTTP Response 304 to 192.168.1.12. Time: 1ms. http://192.168.1.12:8096/web/bower_components3.0.5781.9/paper-spinner/paper-spinner-styles.html 2015-12-26 14:03:43.7607 Info HttpServer: HTTP Response 200 to 192.168.1.12. Time: 23ms. http://192.168.1.12:8096/emby/Notifications/58f3d355745647a9a1954366442ebb64/Summary 2015-12-26 14:03:43.7827 Info HttpServer: HTTP Response 200 to 192.168.1.12. Time: 47ms. http://192.168.1.12:8096/emby/Users/58f3d355745647a9a1954366442ebb64 2015-12-26 14:03:43.7919 Info HttpServer: HTTP Response 204 to 192.168.1.12. Time: 87ms. http://192.168.1.12:8096/mediabrowser/Sessions/Capabilities/Full 2015-12-26 14:03:43.7971 Info HttpServer: HTTP Response 200 to 192.168.1.12. Time: 80ms. http://192.168.1.12:8096/emby/System/Info 2015-12-26 14:03:43.8044 Info HttpServer: HTTP GET http://192.168.1.12:8096/mediabrowser/Sessions?DeviceId=3452AA949F1940F29118DDD2DF0D81A6&format=json. UserAgent: 2015-12-26 14:03:43.8113 Info App: HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/ping 2015-12-26 14:03:43.8414 Info HttpServer: HTTP Response 200 to 192.168.1.12. Time: 37ms. http://192.168.1.12:8096/mediabrowser/Sessions?DeviceId=3452AA949F1940F29118DDD2DF0D81A6&format=json 2015-12-26 14:03:43.8713 Info HttpServer: HTTP GET http://192.168.1.12:8096/mediabrowser/Users?format=json. UserAgent: 2015-12-26 14:03:43.8751 Info HttpServer: HTTP Response 200 to 192.168.1.12. Time: 4ms. http://192.168.1.12:8096/mediabrowser/Users?format=json 2015-12-26 14:03:44.2908 Info HttpServer: HTTP POST http://192.168.1.12:8096/emby/Sessions/Capabilities/Full. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:44.2908 Info HttpServer: HTTP GET http://192.168.1.12:8096/emby/Users/58f3d355745647a9a1954366442ebb64. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:44.2931 Info HttpServer: HTTP Response 200 to 192.168.1.12. Time: 2ms. http://192.168.1.12:8096/emby/Users/58f3d355745647a9a1954366442ebb64 2015-12-26 14:03:44.2931 Info HttpServer: HTTP Response 204 to 192.168.1.12. Time: 2ms. http://192.168.1.12:8096/emby/Sessions/Capabilities/Full 2015-12-26 14:03:44.2947 Info App: StartupTrigger fired for task: Check for plugin updates 2015-12-26 14:03:44.2947 Info App: StartupTrigger fired for task: Check for application updates 2015-12-26 14:03:44.2960 Info App: Queueing task PluginUpdateTask 2015-12-26 14:03:44.2960 Info App: Queueing task SystemUpdateTask 2015-12-26 14:03:44.2985 Info App: Executing Check for plugin updates 2015-12-26 14:03:44.3037 Info App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json 2015-12-26 14:03:44.3072 Info App: Executing Check for application updates 2015-12-26 14:03:44.3093 Info App: HttpClientManager GET: http://www.mb3admin.com/admin/service/MB3Packages.json 2015-12-26 14:03:44.3478 Info HttpServer: WS ws://192.168.1.12:8096/embywebsocket?api_key=a87b267e490247b4b9895d9239ae5af8&deviceId=970085857d56e1b4ecd8a978ed434f15fb4cbeae. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2015-12-26 14:03:45.4687 Info App: Check for application updates Completed after 0 minute(s) and 1 seconds 2015-12-26 14:03:45.4793 Info ServerManager: Sending web socket message ScheduledTaskEnded 2015-12-26 14:03:45.6799 Info App: Check for plugin updates Completed after 0 minute(s) and 1 seconds 2015-12-26 14:03:45.6803 Info ServerManager: Sending web socket message ScheduledTaskEnded 2015-12-26 14:03:46.3377 Info App: HttpClientManager POST: http://www.mb3admin.com/admin/service/registration/ping 2015-12-26 14:03:46.8299 Info App: HttpClientManager GET: http://bot.whatismyipaddress.com 2015-12-26 14:03:47.1742 Info App: HttpClientManager POST: https://connect.emby.media/service/Servers?id=ae2185d16574650be335096762b86703 2015-12-26 14:03:47.3234 Info App: HttpClientManager GET: https://connect.emby.media/service/ServerAuthorizations?serverId=ae2185d16574650be335096762b86703 2015-12-26 14:04:25.0329 Error HttpServer: Error in SharpWebSocket: An exception has occurred while receiving a message.. Exception.Message: The header part of a frame cannot be read from the data source. Thanks Link to comment Share on other sites More sharing options...
Tolotos 61 Posted December 27, 2015 Author Share Posted December 27, 2015 Hi Azelphur, In your log I found you are using emby version 3.0.5781.9 My windows emby displays 3.0.5781.8 as the latest stable version. Is it possible you are using a beta version of emby or is the version numbering different between windows and linux? I know there was a change in the Java-Script handling in emby which makes it necessary for all plugin developers to change their config page code. If you are using a beta of emby you can test with the attached plugin version if the new config page code is working. -- Tolotos TVHeadEnd.zip Link to comment Share on other sites More sharing options...
Tolotos 61 Posted December 27, 2015 Author Share Posted December 27, 2015 There is a new version of the plugin in the repo. At least emby 3.0.5781.8 can not execute anymore the java script code of the old plugin. The released plugin is calling new Java-Script methods of the Emby API. -- Tolotos Link to comment Share on other sites More sharing options...
Capt.Insano 3 Posted January 10, 2016 Share Posted January 10, 2016 @Tolodos Would you mind looking at this topic relating to this TVHeadend plugin? http://emby.media/community/index.php?/topic/29707-no-connection-to-tvheadendno-emby/ Thanks a million! Link to comment Share on other sites More sharing options...
fc7 123 Posted January 16, 2016 Share Posted January 16, 2016 @Tolotos: thanks a lot for your great work. I wanted to ask if every single channel must have a number assigned in tvheadend for Emby to load the channel list from tvheadend. I have EPG and I can watch live tv from tvheadend directly VLC, but Emby itself is not showing any channel in the live tv channel list. I do have channels with number set to 0 but I also have like 12 channels numbered correctly and not even those are listed in Emby. I'm running Emby latest stable on CentOS 7 and tvheadend version 4.0.8 in the same VM. Thanks again for your time. Link to comment Share on other sites More sharing options...
fc7 123 Posted January 16, 2016 Share Posted January 16, 2016 Nevermind I manually restarted Emby service and now the numbered channels are listed correctly and with EPG! Regarding channels list, channels without number or numbered with 0 will not be listed in Emby. Link to comment Share on other sites More sharing options...
fc7 123 Posted January 17, 2016 Share Posted January 17, 2016 I just tried to test recording using Emby TVHeadend plugin but it doesn't seem to work. Is this feature already implemented? From Emby server log: 2016-01-17 00:55:36.9610 Info HttpServer: HTTP GET https://emby01:8920/LiveTv/Timers/Defaults?programId=e7b81eb41daedf7c4135126fd4bf5ffa. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2016-01-17 00:55:36.9653 Info App: [TVHclient] HTSConnectionHandler.ensureConnection() 2016-01-17 00:55:36.9676 Info HttpServer: HTTP Response 200 to 192.168.7.45. Time: 6ms. https://emby01:8920/LiveTv/Timers/Defaults?programId=e7b81eb41daedf7c4135126fd4bf5ffa 2016-01-17 00:55:36.9952 Info HttpServer: HTTP POST https://emby01:8920/LiveTv/Timers. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 2016-01-17 00:55:37.0773 Info App: [TVHclient] HTSConnectionHandler.ensureConnection() 2016-01-17 00:55:37.0774 Info App: [TVHclient] HTSConnectionHandler.ensureConnection() 2016-01-17 00:55:37.3296 Error DtoUtils: ServiceBase<TRequest>::Service Exception *** Error Report *** Version: 3.0.5786.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 3.10.0.327 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 4.2.1 (Stable 4.2.1.102/6dd2d0d Mon Dec 28 00:10:17 UTC 2015) Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe The given key was not present in the dictionary. System.Collections.Generic.KeyNotFoundException at System.ThrowHelper.ThrowKeyNotFoundException () <0x7f9d8ea82b40 + 0x00015> in <filename unknown>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (System.Collections.Generic.TKey key) <0x7f9d8e90a9c0 + 0x0004a> in <filename unknown>:0 at TVHeadEnd.HTSP.HTSMessage.getString (System.String name) <0x40e317e0 + 0x0002c> in <filename unknown>:0 at TVHeadEnd.LiveTvService+<CreateTimerAsync>d__21.MoveNext () <0x41108000 + 0x00acb> in <filename unknown>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7f9d8e9ce790 + 0x00029> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7f9d8e9cc760 + 0x000b3> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7f9d8e9cc6c0 + 0x00093> in <filename unknown>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7f9d8e9cc670 + 0x0003a> in <filename unknown>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7f9d8e9ccbd0 + 0x00012> in <filename unknown>:0 at MediaBrowser.Server.Implementations.LiveTv.LiveTvManager+<CreateTimer>c__async23.MoveNext () <0x41105040 + 0x006a9> in <filename unknown>:0 2016-01-17 00:55:37.3296 Error HttpServer: Error processing request for /LiveTv/Timers *** Error Report *** Version: 3.0.5786.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 3.10.0.327 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /var/lib/emby-server Mono: 4.2.1 (Stable 4.2.1.102/6dd2d0d Mon Dec 28 00:10:17 UTC 2015) Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe The given key was not present in the dictionary. ServiceStack.HttpError No Stack Trace Available 2016-01-17 00:55:37.3333 Info HttpServer: HTTP Response 500 to 192.168.7.45. Time: 338ms. https://emby01:8920/LiveTv/Timers Thanks. Link to comment Share on other sites More sharing options...
fc7 123 Posted January 17, 2016 Share Posted January 17, 2016 Please forget about my last post. The problem was basically me configuring tvheadend. Emby's tvheadend user was missing recording permissions. Yet I have another question: does the plugin support multiple audio tracks and dvb subtitles? I mean does the plugin tell Emby that they are available in the stream? Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Tolotos 61 Posted January 19, 2016 Author Share Posted January 19, 2016 @@fc7 Thank for the notice about your exception log. I'll try to find a way to log a better error message as I'm be able now to reproduce this issue. The stream information is not handled in the plugin. I get an URL the recordings or live streams from tvheadend forward this to emby. -- Tolotos Link to comment Share on other sites More sharing options...
fc7 123 Posted January 19, 2016 Share Posted January 19, 2016 @@fc7 Thank for the notice about your exception log. I'll try to find a way to log a better error message as I'm be able now to reproduce this issue. The stream information is not handled in the plugin. I get an URL the recordings or live streams from tvheadend forward this to emby. -- Tolotos Thanks a lot for you reply @@Tolotos. So correct me if I'm wrong, but in this case if we want multiple audio tracks or subtitles support, it must be Emby the one that analyzes the stream provided by the URL and, detect what is available and act on that? @Luke: is there any chance to implement something like that on Emby side? Or maybe is already implemented and needs to be modified some how? I'm just curious, is not a feature demand. Thank you all! Link to comment Share on other sites More sharing options...
fc7 123 Posted January 20, 2016 Share Posted January 20, 2016 (edited) @Tolotos: do you think it's possible to pass the URL to ffprobe first to analyze the stream and look for alternate audio and subtitle track and afterwards pass the URL and the information obtained from ffprobe to Emby for playback? It's just an idea, maybe to crazy/impossible tough. In case you are interested I just ran ffprobe (the one included with Emby) against a tvheadend tv channel stream and it seems to be detecting the multiple audio tracks and the subtitle streams correctly (languages included): ffprobe version N-49867-gd36eac6-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2007-2015 the FFmpeg developers built with gcc 4.9.3 (Debian 4.9.3-4) configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --cc=gcc-4.9 libavutil 55. 2.100 / 55. 2.100 libavcodec 57. 2.100 / 57. 2.100 libavformat 57. 2.100 / 57. 2.100 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 4.100 / 6. 4.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.100 / 2. 0.100 libpostproc 54. 0.100 / 54. 0.100 [mpeg2video @ 0x3acc680] Invalid frame dimensions 0x0. [mpegts @ 0x3abcbc0] probed stream 6 failed [mpeg2video @ 0x3acc680] Invalid frame dimensions 0x0. Last message repeated 9 times [mpegts @ 0x3abcbc0] Could not find codec parameters for stream 6 (Unknown: none): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'http://*******:*******@localhost:9981/stream/channelid/1141351976': Duration: N/A, start: 65410.588622, bitrate: N/A Program 533 Metadata: service_name : Clan service_provider: RTVE Stream #0:0[0x5dd]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x5df](spa): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Stream #0:2[0x5e0](qaa): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s Stream #0:3[0x5e1](spa): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, mono, s16p, 96 kb/s Stream #0:4[0x5e7](spa): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) Stream #0:5[0x5e8](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) No Program Stream #0:6[0x5de]: Unknown: none Unsupported codec with id 0 for input stream 6 Or in JSON format: show_streams { "streams": [ { "index": 0, "codec_name": "mpeg2video", "codec_long_name": "MPEG-2 video", "profile": "Main", "codec_type": "video", "codec_time_base": "1/50", "codec_tag_string": "[2][0][0][0]", "codec_tag": "0x0002", "width": 720, "height": 576, "coded_width": 0, "coded_height": 0, "has_b_frames": 1, "sample_aspect_ratio": "64:45", "display_aspect_ratio": "16:9", "pix_fmt": "yuv420p", "level": 8, "color_range": "tv", "chroma_location": "left", "timecode": "00:00:00:00", "refs": 1, "id": "0x5dd", "r_frame_rate": "25/1", "avg_frame_rate": "25/1", "time_base": "1/90000", "start_pts": 5893596676, "start_time": "65484.407511", "max_bit_rate": "8000000", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 } }, { "index": 1, "codec_name": "mp2", "codec_long_name": "MP2 (MPEG audio layer 2)", "codec_type": "audio", "codec_time_base": "1/48000", "codec_tag_string": "[4][0][0][0]", "codec_tag": "0x0004", "sample_fmt": "s16p", "sample_rate": "48000", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "id": "0x5df", "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/90000", "start_pts": 5893528018, "start_time": "65483.644644", "bit_rate": "192000", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 }, "tags": { "language": "spa" } }, { "index": 2, "codec_name": "mp2", "codec_long_name": "MP2 (MPEG audio layer 2)", "codec_type": "audio", "codec_time_base": "1/48000", "codec_tag_string": "[4][0][0][0]", "codec_tag": "0x0004", "sample_fmt": "s16p", "sample_rate": "48000", "channels": 2, "channel_layout": "stereo", "bits_per_sample": 0, "id": "0x5e0", "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/90000", "start_pts": 5893528018, "start_time": "65483.644644", "bit_rate": "192000", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 }, "tags": { "language": "qaa" } }, { "index": 3, "codec_name": "mp2", "codec_long_name": "MP2 (MPEG audio layer 2)", "codec_type": "audio", "codec_time_base": "1/48000", "codec_tag_string": "[4][0][0][0]", "codec_tag": "0x0004", "sample_fmt": "s16p", "sample_rate": "48000", "channels": 1, "channel_layout": "mono", "bits_per_sample": 0, "id": "0x5e1", "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/90000", "start_pts": 5893528016, "start_time": "65483.644622", "bit_rate": "96000", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 }, "tags": { "language": "spa" } }, { "index": 4, "codec_name": "dvbsub", "codec_long_name": "DVB subtitles", "codec_type": "subtitle", "codec_time_base": "1/90000", "codec_tag_string": "[6][0][0][0]", "codec_tag": "0x0006", "id": "0x5e7", "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/90000", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 }, "tags": { "language": "spa" } }, { "index": 5, "codec_name": "dvbsub", "codec_long_name": "DVB subtitles", "codec_type": "subtitle", "codec_time_base": "1/90000", "codec_tag_string": "[6][0][0][0]", "codec_tag": "0x0006", "id": "0x5e8", "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/90000", "start_pts": 5893787476, "start_time": "65486.527511", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 }, "tags": { "language": "eng" } }, { "index": 6, "codec_time_base": "0/1", "codec_tag_string": "[0][0][0][0]", "codec_tag": "0x0000", "id": "0x5de", "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/90000", "start_pts": 5893531876, "start_time": "65483.687511", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 } } ], "format": { "filename": "http://*******:*******@localhost:9981/stream/channelid/1141351976", "nb_streams": 7, "nb_programs": 1, "format_name": "mpegts", "format_long_name": "MPEG-TS (MPEG-2 Transport Stream)", "start_time": "65483.644622", "probe_score": 100 } } Can all this information passed then to Emby? All this is just an idea for you to consider. The only drawback I see is that it will take a little bit longer for playback to start (couple of more seconds?) but the benefit can be huge. Edited January 20, 2016 by fc7 Link to comment Share on other sites More sharing options...
pünktchen 1259 Posted January 20, 2016 Share Posted January 20, 2016 @@Tolotos pm t.andre for informations on how to implement Embys ffprobe. He's very helpfull and it's not that difficult. 1 Link to comment Share on other sites More sharing options...
fc7 123 Posted January 20, 2016 Share Posted January 20, 2016 (edited) @@Tolotos pm t.andre for informations on how to implement Embys ffprobe. He's very helpfull and it's not that difficult. Thanks for the reply @@pünktchen!! I was just thinking, that since DVB-T channels sub-streams shouldn't change (what they would do is just send no content for that particular stream) maybe this can be implemented on channel refresh from tvheadend. This would save the delay in playback start because the information may be already cached in the DB. Just another thought. I wish would know more to contribute to the code myself. What do think? Edited January 20, 2016 by fc7 Link to comment Share on other sites More sharing options...
pünktchen 1259 Posted January 20, 2016 Share Posted January 20, 2016 As far as i know the stream informations aren't saved in Emby's database. One could deliver some dummy mediainfos with every stream request, but this would not fit in every case. Link to comment Share on other sites More sharing options...
fc7 123 Posted January 20, 2016 Share Posted January 20, 2016 As far as i know the stream informations aren't saved in Emby's database. One could deliver some dummy mediainfos with every stream request, but this would not fit in every case. Thanks for the answer. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Tolotos 61 Posted January 20, 2016 Author Share Posted January 20, 2016 Hi all, the plugin uses the HTTP streaming mode which is restricitve in its capabilites. Let me explain how it works. The plug in send a ticket request to tvheadend for a live stream or a recording and get as respone an path (to add to the tvheadend URL) and a one time ticket number. With this two informations the URL which is send to Emby is build: baseURL + path + "?" + ticket Emby now opens the URL and the ticket is invalid. If I use ffprobe the ticket will be invalid and the plugin must request another one. If the two streams are multiplexed (possition of audio and video substreams) equal is not ensured. There is another streaming posibility tvheadend offers: streaming using the own HTSP protocoll. This makes it necessary that emby gives me the possibility to direct stream into its ffmpeg. Currently only HTTP and FILE access is possible. Implementing of the HTSP streaming need much time and currently I find no time to finish the much more simple support for series timer. I work on the plugin but if there are only a few hours a month the steps forward are really slow. -- Tolotos Link to comment Share on other sites More sharing options...
fc7 123 Posted January 21, 2016 Share Posted January 21, 2016 (edited) Hi all, the plugin uses the HTTP streaming mode which is restricitve in its capabilites. Let me explain how it works. The plug in send a ticket request to tvheadend for a live stream or a recording and get as respone an path (to add to the tvheadend URL) and a one time ticket number. With this two informations the URL which is send to Emby is build: baseURL + path + "?" + ticket Emby now opens the URL and the ticket is invalid. If I use ffprobe the ticket will be invalid and the plugin must request another one. If the two streams are multiplexed (possition of audio and video substreams) equal is not ensured. There is another streaming posibility tvheadend offers: streaming using the own HTSP protocoll. This makes it necessary that emby gives me the possibility to direct stream into its ffmpeg. Currently only HTTP and FILE access is possible. Implementing of the HTSP streaming need much time and currently I find no time to finish the much more simple support for series timer. I work on the plugin but if there are only a few hours a month the steps forward are really slow. -- Tolotos Thanks for the explanation @Toloto, it makes things more clear at least to me. We all really appreciate your work. Edited January 21, 2016 by fc7 Link to comment Share on other sites More sharing options...
fc7 123 Posted January 23, 2016 Share Posted January 23, 2016 (edited) @Toloto: I managed to modify your TVH plugin to support subtitles and multiple audio tracks. It works fine but I'm sure it can be improved. Only two drawbacks so far: Playback start takes a few more seconds since the TV stream must be analyzed before playback. The delay increase is about 3-9 seconds. All the credit goes to @t.andre that share with me the code to probe the live tv stream. Because of the tickets TTL enabling and disabling subs or switching between audio tracks can only be done during the first few minutes of the stream (while the TVH ticket is valid). To workaround this I override the tickets usage completely and instead I use http basic auth against TVH when requesting a stream. The problem with this is that the TVH username and password used by the Emby plugin will be logged in Emby server logs (by probing/transcoding processes) and they will also travel in clear text on the wire if TVH server and Emby server are in different machines and http is used. This doesn't represent a major problem to me but I will totally understand that it may be unacceptable for many other users. Sadly I couldn't find any other workaround so far. With this method the user is able to switch between audio tracks or subs at any time during playback. Having said that this two drawbacks are minimal in comparison to have the capability to play multiple audio and subs tracks. PM me if you are interested into applying this changes to the official plugin I will be glad to discuss the details with you and thanks again for the great work you did so far! Edited January 23, 2016 by fc7 3 Link to comment Share on other sites More sharing options...
Tolotos 61 Posted January 23, 2016 Author Share Posted January 23, 2016 @@fc7 you got a pm - welcome to the team! 1 Link to comment Share on other sites More sharing options...
Tolotos 61 Posted January 26, 2016 Author Share Posted January 26, 2016 Hi all, the changes of FC7 are in the catalog as a beta version now. Please test and enjoy it. A great thanks to FC7 for his participation!!! -- Tolotos 1 Link to comment Share on other sites More sharing options...
gstuartj 39 Posted February 10, 2016 Share Posted February 10, 2016 (edited) @@Tolotos, I've been reconfiguring this plugin; it works great with the latest branch of TVHeadend. I was wondering if your plugin uses the service name for the channels instead of the user editable channel name? I've renamed several channels in my lineup and the changes show up in Kodi, but I'm having a hard time getting Emby to update the channel names. I didn't know if it's caching/DB related, or if it's using service name instead. I have tried deleting the plugin configuration and metadata/livetv folder and starting from scratch. The channels are still showing up with the old name. Edit: I'm using TVHClient 1.0.5869.39689 with TVH 4.0.8~jessie. Emby version 3.0.5821.0. Edited February 10, 2016 by gstuartj Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now