Jump to content

VirtualTV plugin


pünktchen

Recommended Posts

pünktchen

Sorry, i was faster in writing then in thinking about it 😇
You were nearly right. Just remove the trailing slash. so it must be http://192.168.1.197:8096

Link to comment
Share on other sites

LakersFan
2 minutes ago, pünktchen said:

But the docker internal host adress is: http://172.18.0.6:8096

I’m probably overthinking it. I initially left it blank. Should I put that IP in the host address override? 

Link to comment
Share on other sites

pünktchen

Try this in a browser, but change "TheEmbyUserName" to your needs:
http://192.168.1.197:8096/emby/VirtualTV/Channels?StreamType=universal&CatchupType=shift&CatchupContainer=mpegts&User=TheEmbyUserName&Device=Tivimate

Link to comment
Share on other sites

pünktchen
8 minutes ago, LakersFan said:

Doing that downloaded the channels.m3u file to my PC.

And that is was the export task is doing. Please post a screenshot of your export settings. But hide the password!!!

Link to comment
Share on other sites

pünktchen

@LakersFan I really don't know what the problem is with the export task on your side, but instead of the exported files you can use the direct urls in Tivimate.
Just leave "Export Folder", "Hostadress Override" and "Token" empty in the export settings and use the following in Tivimate.

Guide:
http://192.168.1.197:8096/emby/virtualtv/guide?streamtype=universal

Channels:
http://192.168.1.197:8096/emby/virtualtv/channels?streamtype=universal&catchuptype=flussonic&user=Home&device=Tivimate

If playback of catchup streams failes, just append "&catchupcontainer=mpegts" to the channels url without quotes.
If your Emby user needs a password even in your LAN, just append "&pass=TheEmbyUserPassword" to the channels url without quotes.

Link to comment
Share on other sites

andrewds

@pünktchen Should the VirtualTV plugin work well with other TV sources? I attempted to add a m3u IPTV source to show up in the guide and got some strange behavior. Not sure if it's Emby, the other source, or expected when using the plugin.

 

Link to comment
Share on other sites

pünktchen
41 minutes ago, andrewds said:

Should the VirtualTV plugin work well with other TV sources?

Yes. Since i've started the project i've always had other tv sources active and never experienced any problem.

  • Thanks 1
Link to comment
Share on other sites

LakersFan
On 1/3/2023 at 7:10 AM, pünktchen said:

@LakersFan I really don't know what the problem is with the export task on your side, but instead of the exported files you can use the direct urls in Tivimate.
Just leave "Export Folder", "Hostadress Override" and "Token" empty in the export settings and use the following in Tivimate.

Guide:
http://192.168.1.197:8096/emby/virtualtv/guide?streamtype=universal

Channels:
http://192.168.1.197:8096/emby/virtualtv/channels?streamtype=universal&catchuptype=flussonic&user=Home&device=Tivimate

If playback of catchup streams failes, just append "&catchupcontainer=mpegts" to the channels url without quotes.
If your Emby user needs a password even in your LAN, just append "&pass=TheEmbyUserPassword" to the channels url without quotes.

Unfortunately that didn't work either. I added the channels as you stated, then appended with the catch up container, then even tried the pass. The guide is accurate. It's just not playing.

Link to comment
Share on other sites

pünktchen
2 hours ago, LakersFan said:

Unfortunately that didn't work either. I added the channels as you stated, then appended with the catch up container, then even tried the pass. The guide is accurate. It's just not playing.

Please pm me your Emby log file of that failed playback attempt.

Link to comment
Share on other sites

feerlessleadr

Hi - thanks for making this plugin. I'm trying to set this up so that I can play my channels on kodi, but am running into 2 problems. I have everything setup on the emby server, and the channels show up and play without issue. I setup the IPTV simple PVR addon in kodi to pull the channels and guide data using he following links (which I found from another post from you in this thread):

http://192.168.1.16:8096/emby/VirtualTV/Channels?User=Kevin&StreamType=EmbyNextGen
http://192.168.1.16:8096/emby/VirtualTV/Guide

In kodi, I can see the channels show up, and I can see the guide data, however when I click on a channel to watch it, nothing happens. 

Here is a kodi log file of me trying to play a show in kodi using this method:

https://paste.ubuntu.com/p/FmQtxSsRMt/

Link to comment
Share on other sites

pünktchen

Your guide url is missing the stream type. It has to be:

http://192.168.1.16:8096/emby/VirtualTV/Guide?StreamType=EmbyNextGen

Link to comment
Share on other sites

feerlessleadr
4 minutes ago, pünktchen said:

Your guide url is missing the stream type. It has to be:

http://192.168.1.16:8096/emby/VirtualTV/Guide?StreamType=EmbyNextGen

Thanks, although nothing plays, even after I make that change in kodi. 

https://paste.ubuntu.com/p/ZQHKTXmtX8/

I also just tried following the steps in this post, and while that let's me play when clicking on anything to play, 9 times out of 10 it pops up that Playback Failed (1 out of 10 times the channel will play). 

See log of that here (3 errors and 1 successful playback):

https://paste.ubuntu.com/p/Z8g4WFy5nY/

 

Link to comment
Share on other sites

pünktchen

@feerlessleadr I've asked the Kodi addon developer for some help. Maybe i need to adjust my plugin again to some changes in the Kodi addon or the Kodi addon is just broken.

  • Thanks 1
Link to comment
Share on other sites

pünktchen

@feerlessleadr 
Please try this version: 
 
In the plugin playback settings, make sure to activate "Compatibility Mode (Emby For Kodi Next Gen)"!

Edited by pünktchen
removed attachement
Link to comment
Share on other sites

feerlessleadr
3 hours ago, pünktchen said:

@feerlessleadr 
Please try this version: 
VirtualTV.1.1.3.2_Test.zip 
In the plugin playback settings, make sure to activate "Compatibility Mode (Emby For Kodi Next Gen)"!

Thanks - this looks like it solved my playback issue. 

I believe I discovered another issue, not sure if it is related or not though. I have an MCU channel where I would like the movies to play in sort name order ascending. I happened to forget to change the channel program sort order from the default 'Random' setting, and the channel plays fine (and the guide is populated). However, once I changed the sort order to 'Sort Name Ascending', then refresh the guide, the channel is now blank (and the guide shows no movies). When I click on the channel to play it, it just plays the first movie in my library, rather than the movies I have included in the channel. As soon as I change the sort order back to random, then refresh the guide data, the movies show back up, the guide is populated, and the movies play as they should (just in the wrong order). 

I also tested this w/ mixed content, and the same thing happens. Here is a log of the MCU playlist where I set the content from random to sort name, then back to random. 

embyserver.txt

Link to comment
Share on other sites

pünktchen

Only random will start prior the prime time setting, so depending on the time that you've refreshed the guide you will see the data some hours later.

Link to comment
Share on other sites

feerlessleadr
7 hours ago, pünktchen said:

Only random will start prior the prime time setting, so depending on the time that you've refreshed the guide you will see the data some hours later.

Thanks, that solved it. Last question (hopefully!) - I'm trying to do a 24 hours Stargate channel that plays the movies/tv episodes in order of premier date. To do that, I created a channel and in the "Always include these named movies or tv shows:" section, I typed in "Stargate*", then refresh the channel guide. When I then go to the guide, I see that Stargate programs are there, and as I was scrolling through the guide to check if it was playing in order, I saw that there are random movies added to the channel, like 12 Angry Men, Willy Wonka, Jaws, etc..

Any idea what I'm doing wrong?

embyserver.txt

Link to comment
Share on other sites

GrimReaper
6 minutes ago, feerlessleadr said:

Any idea what I'm doing wrong?

You're not limiting that Channel with "Always include...", what you should do is tag desired movies/TV shows and use Tag channel rule, as that'll restrict Channel to only those items.

Edited by GrimReaper
Rephrase
  • Like 1
Link to comment
Share on other sites

feerlessleadr

Ah ok - so that isn't an 'Only include', it's just saying the channel should ALSO always include. 

Makes sense. I'll use tags then. Thank you!

  • Like 1
Link to comment
Share on other sites

feerlessleadr

I think perhaps I'm not understanding how the 'Sort Program by' order works. I have all of the TV series & Movies tagged, and they are showing up in the guide, but in the wrong order. I have the mixed content sorted by Premiere date, and I confirmed that the dates for the episodes and movies are correct in the metadata. I would expect that the Movies / Shows would play in the following order on a loop, sorted by earliest premiere / release date:

Premiere Time: 3pm

  1. Stargate (Movie)
  2. Stargate Sg1 S01 - S07 (E01, E02, etc.)
  3. Then alternate between SG1 S08, S09, S10 & Atlantis S01, S02, S03 as they aired back to back every Friday
  4. Stargate Atlantis S04
  5. Stargate Ark of Truth (Movie) 
  6. Stargate Atlantis S05
  7. Stargate Continuum (Movie)
  8. Stargate Universe S01 - S03

However, when I look at the guide, it goes like this:

  1. Stargate (Movie)
  2. Stargate Sg1 S01 E01
  3. Stargate Sg1 S01 E02
  4. Stargate Sg1 S01 E03
  5. Stargate Sg1 S01 E04
  6. Stargate Ark of Truth (Movie)
  7. Stargate Sg1 S01 E05
  8. Stargate Sg1 S01 E06
  9. Stargate Sg1 S01 E07
  10. Stargate Continuum (Movie)
  11. Stargate Sg1 S01 E08
  12. Stargate Sg1 S01 E09
  13. Stargate Sg1 S01 E10
  14. Stargate (Movie)

From there, it just repeats where after every 3rd episode the Stargate movies will play again. Am I missing something obvious?

Link to comment
Share on other sites

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...