Enigma2 Service Watcher Program

iBoston

iBoston

Thread Starter
SatelliteGuys Pro
Original poster
Jul 15, 2014
2,388
1,843
North Central
I love what i can do with Enigma2 receivers!!! I wrote a program a couple years back, which i called e2kodi. But, i need to rename the program because it is much more than that.

The program watches what channel i watch and is triggered if i turn to certain channels (services). I wrote the program originally , as there were a few channels on 34.5w that were not compatible with my receiver. So, if i turned to those channels, it would automatically initiate a stream of that channel onto my Kodi box and switch my video source to kodi, and then if i turned off that channel, would stop the stream, and set the video source back to my satellite receiver. It was a seamless way of watching those incompatible channels.

But, i also added a method of displaying information for me. I wrote it so that if i turned to a certain channel, it would popup a display message showing me the contents of a TEXT file. I utilized this method to show me my EPG statistics to help me troubleshoot any EPG issues i might be having.

Well, since all the programming was 99% there, i added yet a new feature. This one detects when i turn to one of the Muzak channels and then automatically displays the Current Song Playing. When i stay on the channel, it will refresh every 30 seconds, and if the song title changes, will then display the next song information. The only modification i had to add to my program was instead of just being able to display a file, i made it so it can pull in a HTTP and decipher the XML headers to get the song information. (Functions that already existed from other programs i wrote) Took me less than 30 minutes to add-in , and now, i don't have to ask "What song is that?"

1679056786300

1679056983523
 
  • Like
Reactions: Titanium, Hyper Casey, TRG and 5 others
iBoston

iBoston

Thread Starter
SatelliteGuys Pro
Original poster
Jul 15, 2014
2,388
1,843
North Central
Well, i have been messing around, and found the python script that effects event info, specifically the EventNow and EventNext. The thought was, instead of using a message box to display the Song Artist and Title, to have it show in the EventNow and EventNext. In working on this, i have resolved another issue as well :

If you have an enigma2 receiver, with or without EPG, you might have come across the following text when you pull up an info window referring to whats current and whats on next :
  • dummyEventName
  • Current
  • Next
PBS Montana as an example : Even though i have EPG data for PBS montana, that signal sends a junk epg information referring to whats on now/next. It overrides my EPG data in the info bar and shows Current and Next. But, i was able to modify the python script within the system files of the satellite receiver watching for junk data. As you can see in the second image, it now shows my EPG data instead of the junk data that is within the satellite stream data.

Screenshot3

Screenshot4


Ill post more, as i am learning as i am going....
 
  • Like
Reactions: Hyper Casey, primestar31, TRG and 2 others
iBoston

iBoston

Thread Starter
SatelliteGuys Pro
Original poster
Jul 15, 2014
2,388
1,843
North Central
Well, i hit my first hiccup. At appears to only load this DATA when you first tune to the channel. I am unable to refresh, or update the EPGnow or EPGnext unless i turn off the channel, and back onto it.

This creates an Chicken or Egg first scenario. I don't know what channel i am until i turn to it, and by then its already loaded in the EPGnow/EPGnext.

This isn't a waste thou, due to the fact i have fixed the DummyEventName/Current/Next issue - so ill no longer see those silly junk text any more instead of the intended EPG. It is a fairly easy fix, and if interested, ill tell you how to modify the python script to resolve that. - You will want to save the modified python script as a backup somewhere , as if you ever update images, that file might get overwritten, in which case you re-add the patch.

Ill have to figure out if i can invoke a EPGnow/EGPnext update on a info bar display.... So, back to the grind for me, although i think i am done for the day...
 
  • Like
Reactions: c-spand and Hyper Casey
Hyper Casey

Hyper Casey

SatelliteGuys Family
Lifetime Supporter
Dec 1, 2010
107
185
Mi
You blow my mind with this stuff iBoston.

I dont know how you do it.

I am so far behind ........ lol
 
  • Like
Reactions: FTA4PA and iBoston
iBoston

iBoston

Thread Starter
SatelliteGuys Pro
Original poster
Jul 15, 2014
2,388
1,843
North Central
You blow my mind with this stuff iBoston.

I dont know how you do it.

I am so far behind ........ lol

Believe me, i still get LOST and feel inferior at times... Ugh, i need to step away for a few days.. Trying to get the internals of Enigma2 figured out is like reading Chinese. Example : In theory, i should be able to set the new artist and song title through the enigma2 python files, and detect that change and automatically show the infobar. Well, that has proven to be a bunch of frustrations and dead ends, and a bricked unit, where i had to restore the firmware.. So, its not all roses....

However, i have left my tuner tuned to 80's channel for hours, and its nice to see the message box popup at every new song. -- But, its all done OUTSIDE enigma2.

But, in attempts of doing this inside enigma2 work, I did fix the : dummyeventnext and current/next, and i figured out how to show my infobar CLOCK in 12 hour format. Why they didn't make that a config option is beyond me! Those Europeans gotta remember, people on the other side of the pond use enigma2 too!
 
  • Like
Reactions: Titanium, FTA4PA and c-spand

Similar threads

iBoston
Replies
5
Views
620
FTA4PA
FTA4PA
iBoston
Replies
9
Views
1K
arlo
A
iBoston
Replies
6
Views
966
iBoston
iBoston
iBoston
Replies
4
Views
1K
FTA4PA
FTA4PA
iBoston
Replies
11
Views
3K
primestar31
primestar31

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Who Read This Thread (Total Members: 44)

  • iBoston
  • Mike045
  • NorthernOhioGuy
  • cyberham
  • aqeeq
  • lonelyfool123
  • catamount
  • Titanium
  • harshness
  • KE4EST
  • bigg t
  • Elsguy
  • phlatwound
  • clucas
  • one_db_compression
  • primestar31
  • Long Hair
  • mc6809e
  • W6MMS
  • a33
  • Mr_Dc2tracker
  • Comptech
  • Keith Brannen
  • FTA4PA
  • c-spand
  • bucktooth
  • armadillo_115
  • brice52
  • Conway
  • Alan Rovner
  • Hyper Casey
  • Brct203
  • Brett58
  • BabaLouie
  • stargate5
  • N5XZS
  • TheEel
  • TRG
  • Arion
  • TvSteve
  • dlf35121
  • Lee60
  • Jim S.
  • stecle
Top