Jump to content

MyTV (Beta) - PseudoTV alternative


Recommended Posts

roormonger
Posted

I agree with @Jatora truly random random would be awesome.

I am waiting till a release when backup and restore is fully working to test it again. I want this next time to be the last for remaking channels lol.

Posted
1 hour ago, roormonger said:

I agree with @Jatora truly random random would be awesome.

I am waiting till a release when backup and restore is fully working to test it again. I want this next time to be the last for remaking channels lol.

Ideally a true random would be awesome, but even absent that, if we could have something like Random 1 (C->F->B->E->A-.D) -> Random 2 (B->F->D->A->E->C) stacked, then E wouldn't always follow A.  If a 3rd and 4th Random series was created, then having Random 1 -> Random 2 -> Random 3 -> Random 4 would basically give you in essence a Randomized list, even though if you scrolled through long enough you could identify a pattern.

VicMoore
Posted

@roormongerI appreciate your testing. I will have the backup code ready in a few days.

Vic

roormonger
Posted
1 hour ago, VicMoore said:

@roormongerI appreciate your testing. I will have the backup code ready in a few days.

Vic

Take your time.

VicMoore
Posted (edited)

@roormongerPlease look at the Backup and Restore in the myTV plugin below. I checked it several times and it worked OK. I don't know if all variations work.

Vic

 

Edited by VicMoore
VicMoore
Posted (edited)

Everything in myTV is much faster now. I streamlined the code and removed all unnecessary code. Builds now go quickly. Hopefully I didn't break anything. You will need to do a fresh plugin install.

Vic

 

Edited by VicMoore
VicMoore
Posted

Is everything working OK???

Vic

grzes2411
Posted

On LG it still doesn't work as it should

VicMoore
Posted

What is not working?

Vic

grzes2411
Posted

On LG Smart TV if I play a channel then emby sees as if I am playing a movie that is currently airing on the channel, and in web app, android, Samsung smart tv, windows app emby sees as playing a tv channel.

 

roormonger
Posted
On 4/19/2025 at 7:44 PM, Jator said:

Sorry, when you say "remove the old TV Service", are you referring to the the plugin itself (ie remove the plugin before installing the new version) or uninstalling all old channels created by previous version?  Or something else?  The "Sports Movie" channel was a new channel, so I assumed it was using the latest version of the plugin as I always restart the server after I download a new version of your plugin.

It means doing this.

Screenshot 2025-05-17 082037.png

VicMoore
Posted

@roormongerYes, you have to remove the tuner (delete it). The good news is that from now own you can save and restore your channels. 

Vic

roormonger
Posted
1 hour ago, VicMoore said:

@roormongerYes, you have to remove the tuner (delete it). The good news is that from now own you can save and restore your channels. 

Vic

So I finally updated the plugin. There was one thing I noticed while making my usual channels. The calendar for min/max premiere date is missing and just typing the date in that field does not work. It won't even populate the preview query if the min/max premiere date query type is chosen.

roormonger
Posted (edited)

Oh, also just tried to make a backup. Got an error "TypeError: window.showSaveFilePicker is not a function"

 

But you are definitely right. The plugin is much faster. I was also able to make all of my channels in one shot. I was not able to do that before. If I made too many at a time the EPG build would always fail so I used to just do it maybe eight or so at a time.

Edited by roormonger
VicMoore
Posted

@roormongerI will fix the calendar issue. What browser are you using?  I have only tested on Edge and Chrome on a windows OS.

 

The showSaveFilePicker is OS and browser dependent. What OS are you using?

Vic

roormonger
Posted
33 minutes ago, VicMoore said:

@roormongerI will fix the calendar issue. What browser are you using?  I have only tested on Edge and Chrome on a windows OS.

 

The showSaveFilePicker is OS and browser dependent. What OS are you using?

Vic

Zen browser (Firefox based) and windows 11

VicMoore
Posted (edited)

@roormongerThe "minMax" menus are fixed. 

 

Could you please try using the Edge Browser to test the backup?    The showSaveFilePicker is not supported in Zin or Fire Fox.

Vic

 

Edited by VicMoore
roormonger
Posted (edited)
5 hours ago, VicMoore said:

@roormongerThe "minMax" menus are fixed. 

 

Could you please try using the Edge Browser to test the backup?    The showSaveFilePicker is not supported in Zin or Fire Fox.

Vic

myTV.dll 587 kB · 1 download

Using edge worked fine. Also tried in Arc browser (chromium based). Didn't work. Calendar also works now. Thank you.

As an idea... What if you just made backing up a scheduled task and have the backup land in the same folder as Emby's backups? That way it wouldn't matter what browser was used. Well, I am just guessing anyway. I have no idea how feasible any of that is.

 

Also, would it be simpler to only backup the channel names, numbers, and rules used to make them. Then just let the channels rebuild themselves after a restore. That way if you have added new media since that backup was taken, it will just automatically be included in the restore.

Edited by roormonger
  • Agree 1
VicMoore
Posted

@roormongeryou and I think alike. I tried your suggestion for backups first. It can't be done because of the security model of the browsers. By making you pick a file name to fetch or save to forces the user to be involved in the activity. This makes it more difficult for a virus to access your file system. Now, having said that, it is possible to backup within the browser. I can implement your idea that way.

11 hours ago, roormonger said:

Also, would it be simpler to only backup the channel names, numbers, and rules used to make them. Then just let the channels rebuild themselves after a restore. That way if you have added new media since that backup was taken, it will just automatically be included in the restore.

Actually, this is much harder to do. My way is just one page of code.

Vic

roormonger
Posted
17 minutes ago, VicMoore said:

@roormongeryou and I think alike. I tried your suggestion for backups first. It can't be done because of the security model of the browsers. By making you pick a file name to fetch or save to forces the user to be involved in the activity. This makes it more difficult for a virus to access your file system. Now, having said that, it is possible to backup within the browser. I can implement your idea that way.

Actually, this is much harder to do. My way is just one page of code.

Vic

I mean a scheduled task in Emby. Then just dump the txt file it generates into a folder in the Emby folder structure. Like for example the backups folder that the Emby server backup plugin puts it's backups. I saw another plugin that saved files to the logs folder. Or what about plugins/configurations?

VicMoore
Posted

@roormongerGreat Idea, I will start working on it.

Vic

VicMoore
Posted (edited)

@roormongerTry the code below. It implements your idea for backups. If the filePicker is not supported, then the backup is stored and retrieved from the Plugin Area. It needs testing.

Vic

 

Edited by VicMoore
VicMoore
Posted

A problem that I struggle with is duplicate media within my Emby libraries. So, I now check for duplicate media across the Emby libraries when you start myTV.  I will post the code later today.

Vic

VicMoore
Posted (edited)

Attached is the latest code. Many things have been added.

Vic

 

The introduction has been updated.

 

 

 

 

Edited by VicMoore
VicMoore
Posted

I will be doing things with the family for a while. A will check every few days for bug reports.

Vic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...