Jator 10 Posted March 2, 2025 Posted March 2, 2025 So finally got to play with it. Here's what I am seeing: 1. I click on 'Add Channel' 2. I input the following: 3. I select 14 movies and select 'Save Selected' and see this: 4. I click on 'get image' button but nothing happens (no popup to navigator or input address of image" 5. I click 'Build' EPG and watch it start to populate the channel. 6. I go to the Guide and scroll down and see the movies: So if the logo is supposed to be working, it's not on my machine. Also, I also went back in to see if I can switch from alphabetical order to random and came across a dual entry for the same option: Defi Definitely off to a great start. Some of the above may be user error? Also, I am running on EMbny 4.8.8 on Synology NAS. I'm hesitant to upgrade as I have to do it manually and things may start breaking (Comskipper.dll had to be downgraded before I could get it to work on my Synology as an example). If there's a compelling readon to upgrade, I will, but for now it works and don't want to upset the apple cart.
VicMoore 754 Posted March 2, 2025 Author Posted March 2, 2025 what OS and browser are you using? It works fine for me. Vic
Jator 10 Posted March 2, 2025 Posted March 2, 2025 Windows 11 using Google Chrome. Also just tried on Edge, same results.
VicMoore 754 Posted March 2, 2025 Author Posted March 2, 2025 (edited) The problem must be that you have not deleted your current TV Tuner, which has prevented you from loading the latest myTV html. The reason for having to do this is that the myTV software saves and restores the state of the DOM. If you have old html then that html is restored each time you start the plugin. Vic P.S. I also use Synology. I stopped using the Emby server within Synology because it's difficult to administer. You have already noticed that plugins are difficult to load. I run Emby on a Dell micro 7040 ($80 on Ebay) that connects directly to the Synology NAS. This way I can copy from a thumb drive directly into Emby plugin directory. Edited March 2, 2025 by VicMoore
Jator 10 Posted March 3, 2025 Posted March 3, 2025 (edited) Sorry, I'm not following. I did remove the previous "channel" before using the new version of the .dll. I went ahead and removed the 80s channel I did a screen shot of and setup a new "test" channel. I can confirm that it is showing up in my guide, but now when I go into the settings, I am seeing this when trying to select logos: Here's a screenshot showing the guide with the channel actively showing: Edited March 3, 2025 by Jator
VicMoore 754 Posted March 3, 2025 Author Posted March 3, 2025 @Jatorcould you please press F12 to bring up the browser console and then press "Add Logo" button to display the Logo menu. Finally, copy the contents of the Browser console (the screen that came up when you clicked the F12 button) and send it to me. Vic
Jator 10 Posted March 3, 2025 Posted March 3, 2025 Nothing shows up on the log (tried it several times including going out and starting a whole new channel): Here's what I see when I click on Find Files Recursively (adding more movies just to see what the expected behavior is when a button is pushed): Also, this shows up even after I click submit EPG guide and it's up and running: Clicking "Add Logo" gets the buttons to appear. Not sure if that's a known bug or if it's intentional:
VicMoore 754 Posted March 3, 2025 Author Posted March 3, 2025 @JatorI am out of town, I will be back tonight. Vic
pmac 143 Posted March 4, 2025 Posted March 4, 2025 Is this meant to be a similar alternative to the VirtualTV Plugin? Or do each of these plugins serve a different purpose?
VicMoore 754 Posted March 4, 2025 Author Posted March 4, 2025 (edited) OK, I found the problem and I am fixing it. The problem was caused by not fully restoring the state of the DOM and my JS code when TV Guides other than 1 are defined. I will post new code tomorrow. Vic Edited March 4, 2025 by VicMoore 1
VicMoore 754 Posted March 4, 2025 Author Posted March 4, 2025 Hello @pmac myTV is similar to virtualTV in that both create an Emby EPG for use by Embys Live TV option. VirtualTV is a mature well debugged program that has excellent support. In contrast, myTV is open-source beta code aimed at building a simple point and click GUI that's easy for users to learn and use. It's not yet fully debugged or functionally complete. Users define what's needed to complete the code. The source code in part or whole is free for anyone to use anyway they like, including VirtualTV. The goal of this forum is to build new things, to learn new ideas, have fun and help others. Advanced new features include allowing as many EPG definitions as needed and a simple and easily way to determine how Channes are defined. The actual code is quite small. I hope this helped. Vic 1
VicMoore 754 Posted March 5, 2025 Author Posted March 5, 2025 (edited) @JatorAttached below is the latest code. I fixed the problem with multiple EPGs, but only tested it for a short time. Let me know if everything is OK. Vic Edited March 6, 2025 by VicMoore
Jator 10 Posted March 5, 2025 Posted March 5, 2025 Just installed (and rebooted server), deleted my previous myTV channels and added 1 new one. Same issue as before, I click on Get Image and nothing happens. Here's the version number I am currently showing:
VicMoore 754 Posted March 5, 2025 Author Posted March 5, 2025 (edited) @Jatorthe problem is that your browser is not bring up the windows "file-picker." If you open the browsers console (press F12) and then click the "console" tab. Next press the orange "Get Image" button. Copy the console and send it to me. I don't know how technical you are, so if you need a more detailed explanation about what to do, please let me know. Vic Edited March 6, 2025 by VicMoore
VicMoore 754 Posted March 5, 2025 Author Posted March 5, 2025 (edited) @JatorKeep in mind that you must be on the same network as your Emby server. This restriction is caused by the browser's security model (CORS), when fetching data from the server. Vic Edited March 6, 2025 by VicMoore
VicMoore 754 Posted March 6, 2025 Author Posted March 6, 2025 @JatorI tried to make things simple for you, so I created an Error message will display on the screen when you press the "Get Image" button. The code is below. Vic myTV.zip myTV.dll
Jator 10 Posted March 7, 2025 Posted March 7, 2025 10 hours ago, VicMoore said: @JatorI tried to make things simple for you, so I created an Error message will display on the screen when you press the "Get Image" button. The code is below. Vic myTV.zip 819.41 kB · 0 downloads myTV.dll 279.5 kB · 0 downloads Much appreciated. Will be tomorrow before I get a chance to load and try things out. Oh, and yes I am on the same network when trying to add the logo.
Ninko 78 Posted March 7, 2025 Posted March 7, 2025 Hi @VicMoore, finally got round to testing this new plugin! Sadly I've hit a big problem straight away. I've set up a test channel but when I go to play it on Roku it starts to play but crashes straight away taking me back to the Emby login screen. Any thoughts? Thanks
Jator 10 Posted March 7, 2025 Posted March 7, 2025 Here's my results: And here's what is coming in from the 'console' tab when I hit f12 and try and click the button: === currentEpgIndex = 0 configurationpage?name=mytvappsjs&v=4.8.8.0:1002 === Select an Image with the file picker configurationpage?name=mytvappsjs&v=4.8.8.0:1023 === Fetch error = TypeError: window.showOpenFilePicker is not a function at openImageFile (configurationpage?name=mytvappsjs&v=4.8.8.0:1012:50) at Object.processTvChannelData (configurationpage?name=mytvappsjs&v=4.8.8.0:959:17) at eventCallback (configurationpage?name=mytvconfigjs&v=4.8.8.0:525:30) at Object.itemEventCatcher (configurationpage?name=mytvappsjs&v=4.8.8.0:921:52) at HTMLDivElement.catchClickEvent (configurationpage?name=mytvconfigjs&v=4.8.8.0:227:18) openImageFile @ configurationpage?name=mytvappsjs&v=4.8.8.0:1023 processTvChannelData @ configurationpage?name=mytvappsjs&v=4.8.8.0:959 eventCallback @ configurationpage?name=mytvconfigjs&v=4.8.8.0:525 itemEventCatcher @ configurationpage?name=mytvappsjs&v=4.8.8.0:921 catchClickEvent @ configurationpage?name=mytvconfigjs&v=4.8.8.0:227Understand this errorAI configurationpage?name=mytvappsjs&v=4.8.8.0:1024 Uncaught (in promise) ReferenceError: helpMessage is not defined at openImageFile (configurationpage?name=mytvappsjs&v=4.8.8.0:1024:21) at Object.processTvChannelData (configurationpage?name=mytvappsjs&v=4.8.8.0:959:17) at eventCallback (configurationpage?name=mytvconfigjs&v=4.8.8.0:525:30) at Object.itemEventCatcher (configurationpage?name=mytvappsjs&v=4.8.8.0:921:52) at HTMLDivElement.catchClickEvent (configurationpage?name=mytvconfigjs&v=4.8.8.0:227:18) Still no popup allowing me to select a channel.
VicMoore 754 Posted March 7, 2025 Author Posted March 7, 2025 @JatorThis is very helpful. I will work on it this morning. Vic
VicMoore 754 Posted March 7, 2025 Author Posted March 7, 2025 @Ninkoplease send me the Emby log. Streaming and playing media is done entirely within the Emby code. All I do is populate the EPG. However, once the media starts playing it sends back to Emby a progress message, which I intercept and read. To rule out a problem here, I have a question. When you click on an item in the EPG to play it, does it always play from the beginning or does it jump to playing at the current time in the movie. In otherwards, if the EPG indicates that a movie is currently half over, does it jump to play at that point or does it continue to play from the beginning of the movie? Vic
VicMoore 754 Posted March 7, 2025 Author Posted March 7, 2025 The problem is most likely your browser. As of March 2023, this feature is only supported on three browsers (Chrome, Edge, Opera), and is classed as an experimental feature even on those. I used it because it has worked well in the past and I like point and click solutions. I will modify the code today to detect when this feature is not supported. Vic
Ninko 78 Posted March 7, 2025 Posted March 7, 2025 @VicMoore The program starts at the beginning before crashing. Log attached. Thanks embyserver.txt
VicMoore 754 Posted March 7, 2025 Author Posted March 7, 2025 @Ninko That info is very helpful. I will work on it later today. Vic 1
VicMoore 754 Posted March 7, 2025 Author Posted March 7, 2025 @JatorI have a work around for you, I just need time to integrate it into the code. This will take me a day or so because of family commitments. Vic 1
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