VicMoore 754 Posted January 7, 2024 Author Posted January 7, 2024 hello @TZTZoro, are you using the latest code? Does this always happen. You might try refreshing the page. What you are seeing is a "race" problem. The main code in the JS file is not getting executed. Try the latest code and let me know what happens. Vic
TZTZoro 26 Posted January 7, 2024 Posted January 7, 2024 I do not know what you call the latest code but the log says PseudoTV, Version=1.0.1.870 and i downloaded it today from your first post. I tried refreshing around 10-20 times and the best i got was the red button behind the header, and after clicking start i always got the white screen
kjhedges 67 Posted January 7, 2024 Posted January 7, 2024 I too have the same issue as described by TZTZoro Also on Emby Latest Beta and PseudoTV latest version. Have been quietly updating the PseudoTV Plugin when you have released updates, but the same issue has been there a while.
VicMoore 754 Posted January 7, 2024 Author Posted January 7, 2024 @TZTZoroand @kjhedgesIn a few minutes I will add a new plugin that should help isolate the problem. I will post it here, rather than the first page. Vic 2
VicMoore 754 Posted January 7, 2024 Author Posted January 7, 2024 @TZTZoroand @kjhedges Try the plugin below. Vic PseudoTV.dll
kjhedges 67 Posted January 7, 2024 Posted January 7, 2024 (edited) Im afraid also with 1.0.1.889 Still the same issue for me Thats in both Firefox and Chrome Browsers Edited January 7, 2024 by kjhedges
TZTZoro 26 Posted January 7, 2024 Posted January 7, 2024 @VicMoore I just added it, it shows the same behavior I removed the old one, restarted the server, added the new one, restarted the server should i look into the debug logs or what would you prefer?
VicMoore 754 Posted January 7, 2024 Author Posted January 7, 2024 Can you send me a screen shot? And look in the browser console for errors. I have only tested the code on Edge and Chrome. Vic
TZTZoro 26 Posted January 7, 2024 Posted January 7, 2024 it shows on top but it is not clickable after editing the html F12 it seems like you added more <br> but addi ng a style top, left and position absolute that is how i move it in frame
kjhedges 67 Posted January 7, 2024 Posted January 7, 2024 (edited) This is Firefox console error Uncaught (in promise) TypeError: nameArray is undefined activeChannels http://192.168.4.34:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:2965 getActiveChannels http://192.168.4.34:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:2963 Edit- also found this error, unsure if relevant Uncaught TypeError: slideeElement is null init http://192.168.4.34:8096/web/modules/scroller/smoothscroller.js?v=4.8.0.66:1 value http://192.168.4.34:8096/web/modules/emby-elements/emby-scroller/emby-scroller.js?v=4.8.0.66:1 removeAndDestroy http://192.168.4.34:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 loadView http://192.168.4.34:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 smoothscroller.js:1:11126 Also a screenshot of when you click to add TV Source Edited January 7, 2024 by kjhedges
TZTZoro 26 Posted January 7, 2024 Posted January 7, 2024 (edited) I am using firefox Uncaught (in promise) TypeError: nameArray is undefined activeChannels http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:2965 getActiveChannels http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:2963 init http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:3033 fillTunerHostInfo http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:3074 reload http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:3062 promise callback*reload http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:3058 <anonymous> http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:3255 onNewViewDisplayed http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 onViewChange http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 promise callback*onViewChange http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 loadView http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 promise callback*ViewManager.prototype.loadView/< http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 promise callback*ViewManager.prototype.loadView http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 loadContentUrl http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 loadContentUrl http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 promise callback*loadContentUrl http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 initRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 promise callback*initRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 promise callback*handleRoute/</< http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 promise callback*handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleSignedInResult http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 promise callback*AppRouter.prototype.handleSignedInResult/< http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleSignedInResult http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleConnectionResult http://host1:8096/web/modules/common/baseapprouter.js?v=4.8.0.66:1 handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 dispatch http://host1:8096/web/modules/pagejs/page.js?v=4.8.0.66:1 replace http://host1:8096/web/modules/pagejs/page.js?v=4.8.0.66:1 start http://host1:8096/web/modules/pagejs/page.js?v=4.8.0.66:1 page http://host1:8096/web/modules/pagejs/page.js?v=4.8.0.66:1 start http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 promise callback*appRouter.start http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 onAppReady http://host1:8096/web/app.js?v=4.8.0.66:1 promise callback*onAppReady http://host1:8096/web/app.js?v=4.8.0.66:1 promise callback*start http://host1:8096/web/app.js?v=4.8.0.66:1 <anonymous> http://host1:8096/web/app.js?v=4.8.0.66:1 <anonymous> http://host1:8096/web/app.js?v=4.8.0.66:1 configurationpage:2965:25 getActiveChannels http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:3000 InterpretGeneratorResume self-hosted:1465 AsyncFunctionNext self-hosted:852 (Async: async) init http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:3033 InterpretGeneratorResume self-hosted:1465 AsyncFunctionNext self-hosted:852 (Async: async) fillTunerHostInfo http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:3074 reload http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:3062 (Async: promise callback) reload http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:3058 <anonymous> http://host1:8096/web/configurationpage?name=pseudotvconfigjs&v=4.8.0.66:3255 onNewViewDisplayed http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 onViewChange http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 (Async: promise callback) onViewChange http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 loadView http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 (Async: promise callback) loadView http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 (Async: promise callback) loadView http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 loadContentUrl http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 loadContentUrl http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 (Async: promise callback) loadContentUrl http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 initRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 (Async: promise callback) initRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 (Async: promise callback) handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 (Async: promise callback) handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleSignedInResult http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 (Async: promise callback) handleSignedInResult http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleSignedInResult http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleConnectionResult http://host1:8096/web/modules/common/baseapprouter.js?v=4.8.0.66:1 handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 dispatch http://host1:8096/web/modules/pagejs/page.js?v=4.8.0.66:1 replace http://host1:8096/web/modules/pagejs/page.js?v=4.8.0.66:1 start http://host1:8096/web/modules/pagejs/page.js?v=4.8.0.66:1 page http://host1:8096/web/modules/pagejs/page.js?v=4.8.0.66:1 start http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 (Async: promise callback) start http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 onAppReady http://host1:8096/web/app.js?v=4.8.0.66:1 (Async: promise callback) onAppReady http://host1:8096/web/app.js?v=4.8.0.66:1 (Async: promise callback) start http://host1:8096/web/app.js?v=4.8.0.66:1 <anonymous> http://host1:8096/web/app.js?v=4.8.0.66:1 <anonymous> http://host1:8096/web/app.js?v=4.8.0.66:1 Uncaught TypeError: slideeElement is null init http://host1:8096/web/modules/scroller/smoothscroller.js?v=4.8.0.66:1 value http://host1:8096/web/modules/emby-elements/emby-scroller/emby-scroller.js?v=4.8.0.66:1 loadView http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 promise callback*ViewManager.prototype.loadView http://host1:8096/web/modules/viewmanager/viewmanager.js?v=4.8.0.66:1 loadContentUrl http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 loadContentUrl http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 promise callback*loadContentUrl http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 initRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 promise callback*initRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 promise callback*handleRoute/</< http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 promise callback*handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleSignedInResult http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 promise callback*AppRouter.prototype.handleSignedInResult/< http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleSignedInResult http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 handleConnectionResult http://host1:8096/web/modules/common/baseapprouter.js?v=4.8.0.66:1 handleRoute http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 dispatch http://host1:8096/web/modules/pagejs/page.js?v=4.8.0.66:1 replace http://host1:8096/web/modules/pagejs/page.js?v=4.8.0.66:1 start http://host1:8096/web/modules/pagejs/page.js?v=4.8.0.66:1 page http://host1:8096/web/modules/pagejs/page.js?v=4.8.0.66:1 start http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 promise callback*appRouter.start http://host1:8096/web/modules/approuter.js?v=4.8.0.66:1 onAppReady http://host1:8096/web/app.js?v=4.8.0.66:1 promise callback*onAppReady http://host1:8096/web/app.js?v=4.8.0.66:1 promise callback*start http://host1:8096/web/app.js?v=4.8.0.66:1 <anonymous> http://host1:8096/web/app.js?v=4.8.0.66:1 <anonymous> http://host1:8096/web/app.js?v=4.8.0.66:1 smoothscroller.js:1:11126 edit: i also tried brave and edge and both give similar looking result, didnt check the console Edited January 7, 2024 by TZTZoro
VicMoore 754 Posted January 7, 2024 Author Posted January 7, 2024 @TZTZoroThat's exactly what I was trying to do. I added three <br> to bring the "Click to start" down so you can click on it. Vic
VicMoore 754 Posted January 7, 2024 Author Posted January 7, 2024 @TZTZoroand @kjhedgesI changed the scope on nameArray. This should correct the problem. Vic PseudoTV.dll
TZTZoro 26 Posted January 7, 2024 Posted January 7, 2024 the same again Could you maybe add so it becomes easier with testing top:4em; position: relative;
VicMoore 754 Posted January 7, 2024 Author Posted January 7, 2024 @TZTZoroYes I will right now. I greatly appreciate your help. Vic
TZTZoro 26 Posted January 7, 2024 Posted January 7, 2024 4em is maybe still a bit little, this is with 6em did the conversion wrong (sorry)
VicMoore 754 Posted January 7, 2024 Author Posted January 7, 2024 The code is below. Let me know if I added the html style to the correct div. What version of Emby are you using? Vic PseudoTV.dll
TZTZoro 26 Posted January 7, 2024 Posted January 7, 2024 The button is still a race condition, most of the time trying to do it on the third time works the button is clickable now I am running emby 4.8.0.66
VicMoore 754 Posted January 7, 2024 Author Posted January 7, 2024 @TZTZoroI will look for a solution. Let me know if you have any ideas. I appreciate your help and testing. Vic
kjhedges 67 Posted January 7, 2024 Posted January 7, 2024 @VicMooreMaybe setup a test Emby Beta Server and see if you can replicate and solve the current issue.
VicMoore 754 Posted January 7, 2024 Author Posted January 7, 2024 @kjhedgesThats a good idea. I will do that after church today. Vic 1
VicMoore 754 Posted January 7, 2024 Author Posted January 7, 2024 @TZTZoroI put in a small delay. Try the plugin below. Vic PseudoTV.dll
VicMoore 754 Posted January 7, 2024 Author Posted January 7, 2024 @TZTZoroand @kjhedgesI think I found the problem. Try the code below; Vic PseudoTV.dll
TZTZoro 26 Posted January 7, 2024 Posted January 7, 2024 (edited) 45 minutes ago, VicMoore said: @TZTZoroand @kjhedgesI think I found the problem. Try the code below; Vic PseudoTV.dll 204.5 kB · 2 downloads I tried this version, i skipped the other i never get a start button i am not sure if that is automated <div is="emby-scroller" class="view flex flex-direction-column scrollFrameY flex-grow emby-scroller page page-withFullDrawer page-withDockedDrawer scrollY" data-mousewheel="true" data-horizontal="false" data-centerfocus="card" data-controller="__plugin/pseudotvconfigjs" data-title="TV Source Setup"> <!-- <div class="scrollSlider flex-grow flex-direction-column padded-left padded-left-page padded-right padded-top-page padded-bottom-page settingsContainer"> --> <div id="masterContainer"> <div id="helpNode"> </div> <div id="titleNode"> </div> <div id="buttonNode"> </div> <div class="scrollDiv"> <div id="pageNode"> </div> </div> <div id="modalNode"> </div> </div> <form id="theForm"> <div id="mainButtons"> <input type="hidden" class="fldDeviceId"> <!-- <button is="emby-button" type="submit" class="raised button-submit block"> <span class="saveButtonText"></span> </button> <button is="emby-button" type="button" class="raised button-cancel block btnCancel"> <span>Cancel</span> </button> --> </div> <div class="verticalSection"> <div class="inputContainer fldFriendlyName hide"> <label class="inputLabel" for="embyinput2">LabelFriendlyName</label><input is="emby-input" type="text" class="txtFriendlyName emby-input emby-input-largerfont emby-input-smaller" label="LabelFriendlyName" autocomplete="off" id="embyinput2"> </div> </div> </form> </div> that is the html what i get and i am still getting Uncaught (in promise) TypeError: nameArray is undefined in configurationpage.js at line 2794 sorry i am not familiar with javascript but maybe the declaration scope is wrong but i suppose not because it works in v4.7 i do not know what smoothscroller.js does but maybe you use it somewhere and there is a try except catch thingy and your variables dont get initialized/completely filled and that other parts of your code dont work? like a dict where for example a key is missing and that is why other parts dont work or something else Edited January 7, 2024 by TZTZoro Not adding multiple emssages
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