Jump to content

VirtualTV plugin


pünktchen

Recommended Posts

Ninko
51 minutes ago, pünktchen said:

Please read the known issues in the start post of this thread.

Ah, I see where the problem lies, thanks @pünktchenfor all the hard work on this plugin, it's improving nicely!

Link to comment
Share on other sites

yaksplat

@pünktchen I just upgraded to the latest beta of emby server

Emby Server Version: 4.8.0.78

I'm using a chromecast client to play a music playlist.  The playlist might play a few songs, or just one song before stopping.  You can see it in the log, starting at 2024-02-04 13:36:57.616

The surprising thing is that I see the source is VirtualTV.  Could that effect the playlist execution?  @Lukesuggested that I pass along the question to you.  Any thoughts?

2024-02-04 13:46:51.551 Info PlaybackReporting - EventMonitorEntryPoint: Removing Old Key from playback_trackers : chromecast_1707071540485|15defe60606c4aa9870c6a7b99357838|3699906|DirectPlay
2024-02-04 13:46:51.551 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 4.8.0.78
	Command line: C:\Emby\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.17763
	Framework: .NET 6.0.26
	OS/Process: x64/x64
	Runtime: C:/Emby/system/System.Private.CoreLib.dll
	Processor count: 24
	Data path: C:\Emby\programdata
	Application path: C:\Emby\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at VirtualTV.Services.EventService.EventService.<SessionEventSubscriber>b__0_1(Object s, PlaybackStopEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.TriggerAll[T](EventHandler`1 mainHandler, Object sender, T args, ILogger logger)
	Source: VirtualTV
	TargetSite: Void <SessionEventSubscriber>b__0_1(System.Object, MediaBrowser.Controller.Library.PlaybackStopEventArgs)

 

embyserver-63842688001.rar

Link to comment
Share on other sites

Dibbes
20 minutes ago, Ninko said:

@yaksplat

4.8.0.80 stable

4.9.0.0-beta

Versions of Emby are out.

at the time of writing, not all packages are available yet... the Windows x64 is not there yet

Link to comment
Share on other sites

Ninko
41 minutes ago, Dibbes said:

at the time of writing, not all packages are available yet... the Windows x64 is not there yet

Ah, right sorry, thought they was all out now.

Link to comment
Share on other sites

pünktchen
2 hours ago, yaksplat said:

The surprising thing is that I see the source is VirtualTV.  Could that effect the playlist execution?

I don't think so, but it's not impossible.
We will see it after you've updated the plugin to the newest version from the catalog. That should fix all the exceptions from the plugin that i've seen in your log.

Link to comment
Share on other sites

adrianlive
On 2/1/2024 at 6:05 PM, adrianlive said:

I’m loving the VIrtualTV, however since I upgraded emby to 4.8.0.77 and VirtualTV 2.0.2.0 I’m having trouble with the Playlist Live or Playlist Archive modes it won’t advance to the next movie, also tried with the Native option.

 

I see this on tvOS and iOS, any ideas what could be wrong? Or anyone else having this issue with their ATV?

 

Thanks

Btw, I believe I may have found the issue here, my user Playback / Advanced settings had the “Enable Cinema Intros” selected and I have not configured Cinema Intros, but after I turned that off tv shows and movies started advancing as they should.

  • Like 1
Link to comment
Share on other sites

pünktchen
1 hour ago, adrianlive said:

Btw, I believe I may have found the issue here, my user Playback / Advanced settings had the “Enable Cinema Intros” selected and I have not configured Cinema Intros, but after I turned that off tv shows and movies started advancing as they should.

Great finding!

Link to comment
Share on other sites

adrianlive

I wondering if there is a way for virtual channel logo to display in overlay on a movie or tv show while playing? I see it when tuning the channels but that overlay goes away along with the rest of the controls and program image. TIA

Link to comment
Share on other sites

yaksplat

I updated everything and there's no longer an execution error, but i did see there's still an error generated by VirtualTV.  It happens at the end of every song.

2024-02-06 13:05:38.643 Info Server: http/1.1 Response 204 to host6. Time: 2ms. POST http://192.168.1.145:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby for Chromecast&X-Emby-Device-Name=Chromecast&X-Emby-Device-Id=chromecast_1707237530439&X-Emby-Client-Version=2.1.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json
2024-02-06 13:05:38.671 Info Server: http/1.1 POST http://192.168.1.145:8096/emby/Sessions/Playing/Stopped?X-Emby-Client=Emby for Chromecast&X-Emby-Device-Name=Chromecast&X-Emby-Device-Id=chromecast_1707237530439&X-Emby-Client-Version=2.1.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json. UserAgent: Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.225 Safari/537.36 CrKey/1.56.500000
2024-02-06 13:05:38.671 Debug AuthenticationRepository: GetInternalId reportedDeviceId: chromecast_1707237530439
2024-02-06 13:05:38.671 Info SessionManager: Playback stopped reported by app Emby for Chromecast 2.1.0 on Chromecast playing Ice Cream Man. Stopped at 199862 ms
2024-02-06 13:05:38.672 Info SessionManager: Removing playSession 1707237531154 from session a639c83351f6c3d382904c8a1e9d9f02
2024-02-06 13:05:38.672 Debug EncodingManager: ReportPlaybackStopped PlaySessionId: 1707237531154
2024-02-06 13:05:38.672 Info PlaybackReporting - EventMonitorEntryPoint: _sessionManager_PlaybackStop : Entered
2024-02-06 13:05:38.672 Info Server: http/1.1 Response 204 to host6. Time: 1ms. POST http://192.168.1.145:8096/emby/Sessions/Playing/Stopped?X-Emby-Client=Emby for Chromecast&X-Emby-Device-Name=Chromecast&X-Emby-Device-Id=chromecast_1707237530439&X-Emby-Client-Version=2.1.0&X-Emby-Token=x_secret3_x&X-Emby-Language=en-us&reqformat=json
2024-02-06 13:05:38.672 Info PlaybackReporting - EventMonitorEntryPoint: Saving final duration for Item : chromecast_1707237530439|15defe60606c4aa9870c6a7b99357838|3731037|DirectPlay
2024-02-06 13:05:38.684 Info PlaybackReporting - EventMonitorEntryPoint: Removing Old Key from playback_trackers : chromecast_1707237530439|15defe60606c4aa9870c6a7b99357838|3731037|DirectPlay
2024-02-06 13:05:38.684 Error SessionManager: Error in event handler
	*** Error Report ***
	Version: 4.9.0.0
	Command line: C:\Emby\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.17763
	Framework: .NET 6.0.26
	OS/Process: x64/x64
	Runtime: C:/Emby/system/System.Private.CoreLib.dll
	Processor count: 24
	Data path: C:\Emby\programdata
	Application path: C:\Emby\system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at VirtualTV.Services.EventService.EventService.<SessionEventSubscriber>b__0_1(Object s, PlaybackStopEventArgs e)
	   at MediaBrowser.Common.Events.EventHelper.TriggerAll[T](EventHandler`1 mainHandler, Object sender, T args, ILogger logger)
	Source: VirtualTV
	TargetSite: Void <SessionEventSubscriber>b__0_1(System.Object, MediaBrowser.Controller.Library.PlaybackStopEventArgs)
	
2024-02-06 13:05:38.736 Info Server: http/1.1 HEAD http://192.168.1.145:8096/emby/Audio/3710296/universal?UserId=15defe60606c4aa9870c6a7b99357838&DeviceId=chromecast_1707237530439&MaxStreamingBitrate=160000000&Container=opus,mp3|mp3,mp2,mp3|mp2,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav|PCM_S16LE,wav|PCM_S24LE,ogg&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&api_key=x_secret3_x&PlaySessionId=1707237531155&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false. Accept=*/*, Connection=keep-alive, Host=host7, User-Agent=Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.225 Safari/537.36 CrKey/1.56.500000, Accept-Encoding=gzip, deflate, Accept-Language=en-GB,en-US;q=0.9,en;q=0.8, Origin=host8, CAST-DEVICE-CAPABILITIES={"bluetooth_supported":false,"display_supported":false,"hi_res_audio_supported":true,"remote_control_input_supported":false,"touch_input_supported":false}
2024-02-06 13:05:38.737 Debug App: GetPostedPlaybackInfo request: {"Id":"3710296","UserId":"15defe60606c4aa9870c6a7b99357838","MaxStreamingBitrate":160000000,"StartTimeTicks":0,"DeviceProfile":{"SupportedMediaTypes":"Audio,Photo,Video","MaxStreamingBitrate":8000000,"MusicStreamingTranscodingBitrate":256000,"DirectPlayProfiles":[{"Container":"opus","Type":"Audio"},{"Container":"mp3","AudioCodec":"mp3","Type":"Audio"},{"Container":"mp2","Type":"Audio"},{"Container":"mp3","AudioCodec":"mp2","Type":"Audio"},{"Container":"aac","AudioCodec":"aac","Type":"Audio"},{"Container":"m4a","AudioCodec":"aac","Type":"Audio"},{"Container":"mp4","AudioCodec":"aac","Type":"Audio"},{"Container":"flac","Type":"Audio"},{"Container":"webma","Type":"Audio"},{"Container":"webm","Type":"Audio"},{"Container":"wav","AudioCodec":"PCM_S16LE","Type":"Audio"},{"Container":"wav","AudioCodec":"PCM_S24LE","Type":"Audio"},{"Container":"ogg","Type":"Audio"}],"TranscodingProfiles":[{"Container":"aac","Type":"Audio","AudioCodec":"aac","Protocol":"hls","EstimateContentLength":false,"EnableMpegtsM2TsMode":false,"TranscodeSeekInfo":"Auto","CopyTimestamps":false,"Context":"Streaming","MinSegments":0,"SegmentLength":0,"BreakOnNonKeyFrames":false,"AllowInterlacedVideoStreamCopy":false,"MaxManifestSubtitles":0,"MaxWidth":0,"MaxHeight":0,"FillEmptySubtitleSegments":false}],"ContainerProfiles":[],"CodecProfiles":[],"ResponseProfiles":[],"SubtitleProfiles":[]},"EnableDirectPlay":true,"EnableDirectStream":true,"EnableTranscoding":true,"AllowInterlacedVideoStreamCopy":false,"AllowVideoStreamCopy":true,"AllowAudioStreamCopy":true,"IsPlayback":false,"AutoOpenLiveStream":false,"DirectPlayProtocols":["Http"]}
2024-02-06 13:05:38.738 Debug SqliteItemRepository: GetitemById Audio 3710296 \\waddles\music\Guns N' Roses\Use Your Illusion II\2-01 Civil War.mp3
2024-02-06 13:05:38.739 Info App: User policy for jim. EnableAudioPlaybackTranscoding: True
2024-02-06 13:05:38.739 Debug SqliteItemRepository: GetitemById Audio 3710296 \\waddles\music\Guns N' Roses\Use Your Illusion II\2-01 Civil War.mp3

 

embyserver (5).txt

Link to comment
Share on other sites

TallBoiDez

Am I doing something wrong I set this channel up like the others but some work and some don't I don't what I'm doing wrong here

Screenshot_20240207-200125_Chrome.jpg

Link to comment
Share on other sites

PuffyToesToo
14 hours ago, TallBoiDez said:

Am I doing something wrong I set this channel up like the others but some work and some don't I don't what I'm doing wrong here

 

When you say some channels don't work, do you mean they don't populate, or they don't play? 

Also, in my own experience, I always make sure to have the date range filled out. Even if I put  '1900-2050' as the range, it always fixes unpopulated channels for me. This also fixed it on my bf's as well, several times.

Link to comment
Share on other sites

TallBoiDez
1 hour ago, PuffyToesToo said:

When you say some channels don't work, do you mean they don't populate, or they don't play? 

Also, in my own experience, I always make sure to have the date range filled out. Even if I put  '1900-2050' as the range, it always fixes unpopulated channels for me. This also fixed it on my bf's as well, several times.

It populates but does play anything or generate guide data

Link to comment
Share on other sites

crusher11

According to the TV Guide, my comedy channel is currently playing "Taylor Tomlinson: Quarter-Life Crisis," which started at 4:26 and runs until 5:27. But when I click on it, I get an extra for Bo Burnham's "Inside," which is less than 40 minutes long. I played the channel, noticed the issue, turned on debug logging, and then played the channel again.

embyserver.txt

Link to comment
Share on other sites

pünktchen
23 hours ago, TallBoiDez said:

Am I doing something wrong I set this channel up like the others but some work and some don't I don't what I'm doing wrong here

It's the parentheses in FOX (US). They are reserved to build the logical operation expression.
I don't know how many different FOX networks exists and if it would make sense for you, but why don't you just use FOX* ?

Link to comment
Share on other sites

pünktchen
4 hours ago, crusher11 said:

According to the TV Guide, my comedy channel is currently playing "Taylor Tomlinson: Quarter-Life Crisis," which started at 4:26 and runs until 5:27. But when I click on it, I get an extra for Bo Burnham's "Inside," which is less than 40 minutes long. I played the channel, noticed the issue, turned on debug logging, and then played the channel again.

Sorry but you should have enabled debug logging in the plugin, not necessary for the server.

Link to comment
Share on other sites

Tester

Emby v4.8.1.0  VirtualTV 2.0.2.0

Wiped previous logs and xmls. Installed new version. Playback Settings -> API key. Export Settings -> set Export Folder. Enabled -> Also export real live tv channels and guide data.  Did not set up any channels.  See attached logs, immediate fail.

I do not see where to set the User/Password like older versions nor the device name.

I am obviously missing something, please advise.. thanks!

 

 

embyserver.txt

Link to comment
Share on other sites

pünktchen
54 minutes ago, Tester said:

I do not see where to set the User/Password like older versions nor the device name.s

Export Settings -> Add new authentication info. Then you can select that for the Export Task User.

  • Facepalm 1
Link to comment
Share on other sites

TallBoiDez
14 hours ago, pünktchen said:

It's the parentheses in FOX (US). They are reserved to build the logical operation expression.
I don't know how many different FOX networks exists and if it would make sense for you, but why don't you just use FOX* ?

I didn't think about doing that 

Link to comment
Share on other sites

Tester

pünktchen, any idea why the xml guide data file would work with Emby/TiviMate but not with Sparkle ?  

Link to comment
Share on other sites

pünktchen
8 hours ago, Tester said:

pünktchen, any idea why the xml guide data file would work with Emby/TiviMate but not with Sparkle ?  

No, sorry. Best is to send your xmltv file to the Sparkle developer over at Reddit.

  • Agree 1
Link to comment
Share on other sites

  • 2 weeks later...
STR8

Hello I was wondering which version of the live tv plugin should I install because I installed the new update fof the Emby server and now my live says it's unable to tune channels.

Link to comment
Share on other sites

Junglejim
5 hours ago, STR8 said:

Emby server version 4.8.1.0

Live tv plugin version 1.1.2.0

Take a look at the first post of this thread, 1.1.4.2 is the version for the 4.8... server.

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