nhsman 4 Posted June 14, 2017 Share Posted June 14, 2017 Hi, I tried to use m3u playlist to import channels from my tvheadend server. It seems to import fine but I cannot get channel logos to display. The sample format of my m3u is: #EXTM3U#EXTINF:-1 tvg-logo="http://192.168.1.40:9981/imagecache/933.png"tvg-id="b69f1c05a75f36e4127cf5bc59f00acd",Cinemax HD http://192.168.1.40:9981/stream/channelid/85761974#EXTINF:-1 tvg-logo="http://192.168.1.40:9981/imagecache/929.png"tvg-id="dec34c0039430e425acc757a539dde2d",Nat Geo Wild HD http://192.168.1.40:9981/stream/channelid/5030878 If I put the logo URL into browser it displays channel logo just fine. Below it's server log after restart and refresh guide data: https://pastebin.com/ZWc7ms9T Thanks. Link to comment Share on other sites More sharing options...
maegibbons 1267 Posted June 14, 2017 Share Posted June 14, 2017 Do you not need a space after tvg-logo tag field and the tvg-id? Krs Mark Link to comment Share on other sites More sharing options...
nhsman 4 Posted June 14, 2017 Author Share Posted June 14, 2017 (edited) Hi, I just double checked and there is a space in there: #EXTM3U#EXTINF:-1 tvg-logo="http://192.168.1.40:9981/imagecache/933.png" tvg-id="b69f1c05a75f36e4127cf5bc59f00acd",Cinemax HDhttp://192.168.1.40:9981/stream/channelid/85761974 Any other ideas? Thanks. Edited June 14, 2017 by nhsman Link to comment Share on other sites More sharing options...
maegibbons 1267 Posted June 14, 2017 Share Posted June 14, 2017 Whilst not helpful to your issue, it certainly works for me in my m3u as in: #EXTINF:-1 channel-id="2156" tvg-id="I74410.json.schedulesdirect.org" tvg-logo="https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s74410_h3_aa.png",SKYSPORTS F1 SD Krs Mark Link to comment Share on other sites More sharing options...
nhsman 4 Posted June 14, 2017 Author Share Posted June 14, 2017 I have tested with just one channel on my playlist and this might be the error from emby server log: 2017-06-14 15:05:44.2064 Info HttpClient: HttpClientManager GET: http://192.168.1.40:9981/imagecache/9332017-06-14 15:05:44.2064 Error HttpServer: Error processing request *** Error Report *** Version: 3.2.20.0 Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe -service Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1 64-Bit OS: True 64-Bit Process: True Processor count: 4 Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system System.ArgumentNullException: Value cannot be null. Parameter name: mimeType at MediaBrowser.Providers.Manager.ImageSaver.<SaveImage>d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Providers.Manager.ProviderManager.<SaveImage>d__24.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Server.Implementations.Library.LibraryManager.<ConvertImageToLocal>d__193.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Drawing.ImageProcessor.<ProcessImage>d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Api.Images.ImageService.<GetImageResult>d__24.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Server.Implementations.Services.ServiceExecGeneral.<Execute>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Server.Implementations.Services.ServiceHandler.<ProcessRequestAsync>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__75.MoveNext() System.ArgumentNullException at MediaBrowser.Providers.Manager.ImageSaver.<SaveImage>d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Providers.Manager.ProviderManager.<SaveImage>d__24.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Server.Implementations.Library.LibraryManager.<ConvertImageToLocal>d__193.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Drawing.ImageProcessor.<ProcessImage>d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Api.Images.ImageService.<GetImageResult>d__24.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Server.Implementations.Services.ServiceExecGeneral.<Execute>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Server.Implementations.Services.ServiceHandler.<ProcessRequestAsync>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Emby.Server.Implementations.HttpServer.HttpListenerHost.<RequestHandler>d__75.MoveNext() Could someone have a look and let me know if it's fixable. Thanks. Link to comment Share on other sites More sharing options...
Luke 37118 Posted June 14, 2017 Share Posted June 14, 2017 check the response in the browser debugger, does it have a Content-Type response header? Link to comment Share on other sites More sharing options...
nhsman 4 Posted June 14, 2017 Author Share Posted June 14, 2017 (edited) Can you please let me know how to check it? This is what I get when inspect with firebug: <html><head><meta name="viewport" content="width=device-width; height=device-height;"><link rel="stylesheet" href="resource://gre/res/ImageDocument.css"><link rel="stylesheet" href="resource://gre/res/TopLevelImageDocument.css"><link rel="stylesheet" href="chrome://global/skin/media/TopLevelImageDocument.css"><title>933 (PNG Image, 220 × 94 pixels)</title></head><body><img src="http://192.168.1.40:9981/imagecache/933"alt="http://192.168.1.40:9981/imagecache/933" class="transparent"></body></html> Thanks. Edited June 14, 2017 by nhsman 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