VicMoore 754 Posted March 8, 2025 Author Posted March 8, 2025 @NinkoWhile reviewing the log, I noticed that you defined 3 channels, namely, "Comedy","TEMP-954", and "TEMP-2318". Of these channels only "Comedy" had content. The other two channels had no data. Is this correct? I didn't realize that this would disrupt the Emby TV Platform. I will fix this problem tomorrow. Vic
Ninko 78 Posted March 8, 2025 Posted March 8, 2025 @VicMooreYeah that was a mistake, I wasn't sure what I was doing at the time, still learning the layout of your plugin. I'm pretty sure I since deleted the 2 temp channels and tried again and had the same problem (look near the end of the log). Thanks
VicMoore 754 Posted March 8, 2025 Author Posted March 8, 2025 (edited) @NinkoDo you experience this problem with PseudoTV ? PseudoTV and myTV use the same TV platform. If it works on pseudoTV it would help me isolate the problem. When I look at the end of the log, after where you restarted with just 1 channel, the video "2 Point 4 Children" seems to be playing normally. Is this correct? I greatly appreciate your help fixing this problem. Vic Edited March 8, 2025 by VicMoore
VicMoore 754 Posted March 8, 2025 Author Posted March 8, 2025 (edited) @Ninkoplease try the plugin below. VIc Edited March 16, 2025 by VicMoore
VicMoore 754 Posted March 8, 2025 Author Posted March 8, 2025 @JatorI am working on your problem. It just requires a lot of code to do it right. It's something I should have done from the beginning. Thanks for pointing the problem out. Vic
Jator 10 Posted March 8, 2025 Posted March 8, 2025 2 minutes ago, VicMoore said: @JatorI am working on your problem. It just requires a lot of code to do it right. It's something I should have done from the beginning. Thanks for pointing the problem out. Vic Vic, even a blind squirrel like me occasionally finds a nut.
Ninko 78 Posted March 8, 2025 Posted March 8, 2025 @VicMooreI've not tried PseudoTV to be honest so I'm not sure. No, the app crashed shortly after starting the channel, I noticed it showed in the Emby dashboard that the channel was playing even though it wasn't. Hopefully that makes sense. I'll try that new code as soon as I can, thanks. Would you like me to test PseudoTV when I can too?
VicMoore 754 Posted March 9, 2025 Author Posted March 9, 2025 @Ninko Try testing channels that have different content from the videos you have been testing with. Yes, I see in the log that the Emby Client is playing the video OK, even though it actually crashed. This is strange behavior. No don't use pseudoTV. I want to discover why myTV is crashing first. I greatly appreciate your help. Vic
Ninko 78 Posted March 9, 2025 Posted March 9, 2025 @VicMooreWill do, as soon as I get chance to test it I'll get back to you. Thanks!
VicMoore 754 Posted March 10, 2025 Author Posted March 10, 2025 (edited) @Jator When you bring up "myTV" (the dll attached below) you should see in the browsers console the text below. If the "Local Server" is "true" then the logo menu will display and work properly, otherwise ("Local Server" is "false") the logo menu will not display. Because of the browsers security model (CORS), you can only add or change Channel Logos while using SSL or when the Emby server is local to the browser. This is why the "Get Image" button did not work for you. I decided not to mitigate this restriction, because Emby offers an easy way to add or change channel logo images. This restriction does not apply to Emby because Emby changes these images via server code, rather than browser code. Vic Edited March 16, 2025 by VicMoore
VicMoore 754 Posted March 10, 2025 Author Posted March 10, 2025 (edited) The latest code is below. I corrected a few bugs and changed the "add Logo Images" to display only if the browser supports it. Vic Edited March 16, 2025 by VicMoore
Jator 10 Posted March 11, 2025 Posted March 11, 2025 Here's the version I just tested: Here's the console log when I ty and add a logo: configurationpage?name=mytvappsjs&v=4.8.8.0:1027 === Fetch error = TypeError: window.showOpenFilePicker is not a function at openImageFile (configurationpage?name=mytvappsjs&v=4.8.8.0:1016:50) at Object.processTvChannelData (configurationpage?name=mytvappsjs&v=4.8.8.0:970:17) at eventCallback (configurationpage?name=mytvconfigjs&v=4.8.8.0:525:30) at Object.itemEventCatcher (configurationpage?name=mytvappsjs&v=4.8.8.0:925:52) at HTMLDivElement.catchClickEvent (configurationpage?name=mytvconfigjs&v=4.8.8.0:227:18) I'm trying to manage from my laptop on the same network (NAS is 192.168.0.2 and laptop is 192.168.0.250. Jay
VicMoore 754 Posted March 11, 2025 Author Posted March 11, 2025 @JatorThe problem is that your Emby server is not local to your browser. You can mitigate this problem by getting an SSL certificate for your server or by using a browser from the same server that's hosting Emby. I can fix this problem by adding code to the server (via the plugin) but chose not to because Emby already offers a server-based option for adding channel logos. I didn't want to replicate their work. Like you I also use Synology. But instead of hosting Emby within the Synology NAS, I chose to run Emby on a small server that attaches to the Synology Nas. My browser runs from that server. The CORS security model is very strict. This is a good thing. I hope this helps. Vic
Jator 10 Posted March 12, 2025 Posted March 12, 2025 6 hours ago, VicMoore said: @JatorThe problem is that your Emby server is not local to your browser. You can mitigate this problem by getting an SSL certificate for your server or by using a browser from the same server that's hosting Emby. I can fix this problem by adding code to the server (via the plugin) but chose not to because Emby already offers a server-based option for adding channel logos. I didn't want to replicate their work. Like you I also use Synology. But instead of hosting Emby within the Synology NAS, I chose to run Emby on a small server that attaches to the Synology Nas. My browser runs from that server. The CORS security model is very strict. This is a good thing. I hope this helps. Vic Thanks Vic. I've never explored what it takes to get a SSL certificate up and running. Seems like this may not be a best case scenario for me unfortunately. Although buggy, I can get logos to work using VirtualTV Plugin using my laptop to manage my Emby Server on my NAS. But as I mentioned before, it's not a simple user environment, so there's a tradeoff. In the end, I'd like to have the best of both worlds (Channels DVR and Emby). Channels excels at making things user friendly for the end user, such as using a Synology NAS as a self-contained server with all the functionality available, but I really like the flexibility that Emby provides in terms of customization. I get it, my expectations are too high, but I do appreciate you working with me on your plugin. I'll revisit it from time to time to see if it's capability and my ability get more closely aligned. In the meantime, GO GATORS!!!
VicMoore 754 Posted March 12, 2025 Author Posted March 12, 2025 Hello @JatorI think with virtualTV you enter in the path of the logo image. He then loads the image from the server. I did this once with a plugin called channels. I didn't want to do this because Emby lets you add logo images so easily. Give this built in Emby feature a try. I hope you visit often @Jatorand if you come to gainesville lets have a face to face meeting. Vic 1
VicMoore 754 Posted March 12, 2025 Author Posted March 12, 2025 (edited) Attached is the latest code. I made viewing the build process more informative and interesting. Vic Edited March 12, 2025 by VicMoore
Ninko 78 Posted March 12, 2025 Posted March 12, 2025 @VicMooreTested version: 1.0.1.785 Tried 2 different channels this time, the Emby app still crashes after starting the program BUT if I then sign back into Emby on Roku it starts playing straight away without me having to go to it, don't know if that helps at all? embyserver.txt Thanks
VicMoore 754 Posted March 12, 2025 Author Posted March 12, 2025 @NinkoThat is very interesting. I will study the log carefully. I appreciate your help. Vic
VicMoore 754 Posted March 12, 2025 Author Posted March 12, 2025 Below is the latest code. I fixed a bug in the build epg process when using home-videos. I also improved the presentation monitoring process. Vic myTV.zip myTV.dll
Ninko 78 Posted March 12, 2025 Posted March 12, 2025 If I can be of any further help just let me know what you want me to do @VicMoore Thanks
speechles 2055 Posted March 12, 2025 Posted March 12, 2025 (edited) 4 hours ago, Ninko said: Tried 2 different channels this time, the Emby app still crashes after starting the program BUT if I then sign back into Emby on Roku it starts playing straight away without me having to go to it, don't know if that helps at all? The Roku app is crashing? Then when you sign back into the Roku app it just starts to work? If this is involving the Roku app crashing then we can officially help him resolve those crashes and work with him on this. @VicMooreI can work with you on fixing this crash on the Roku. Going to install the plugin and set this up. Then try to see if I can get some crashes on the Roku client and see where this occurs. The Roku app should never crash. Even with bad data it should error rather than crash. Will post back once I have this setup and can test. Edited March 12, 2025 by speechles 2 2
VicMoore 754 Posted March 12, 2025 Author Posted March 12, 2025 @speechlesI would love to work with you on this problem. It's very kind of you to offer. Vic
VicMoore 754 Posted March 12, 2025 Author Posted March 12, 2025 @speechles Emby clients play media from the beginning and may or may not play the next media. When using live TV, media to play is chosen from an EPG schedule, and when you play an item, you must start at the point in time identified by the EPG schedule. To mitigate the problem where Emby clients want to play from the beginning of media. This plugin sends a playlist to the Emby client, and the client starts playing the first program on the playlist. The plugin then listens for the client to send the first "Playing" message to the Emby server. Once this message is received, the plugin sends a "skip ahead" message to the client to cause it to play the currently playing media at the correct current time, according to the EPG. I am explaining how the plugin works to simplify your understanding about what is happening. If you want further details, I can provide them. vic
Jator 10 Posted March 13, 2025 Posted March 13, 2025 On 3/11/2025 at 10:38 PM, VicMoore said: Hello @JatorI think with virtualTV you enter in the path of the logo image. He then loads the image from the server. I did this once with a plugin called channels. I didn't want to do this because Emby lets you add logo images so easily. Give this built in Emby feature a try. I hope you visit often @Jatorand if you come to gainesville lets have a face to face meeting. Vic @VicMoore, I totally missed that I could manage the logo from the standard channel setup page. I've been updating several channel logos (I like the retro look, see examples below) and didn't even think to use that feature to include a logo for the myTV channels created. Full disclosure, Channels DVR doesn't have an easy way to change logos except within the "myTV equivalent" (channel collection in their app), so I was tuned in to "duplicating" how it works over there. That completely solves my issue and so I'm back.
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