AVS Forum banner

681 - 700 of 784 Posts

·
Registered
Joined
·
295 Posts
Discussion Starter #681 (Edited)
The above text seems imply another pigs is running. I have run the stop command without success. Below is the result of the 'sudo Isof -i :80' command.

[email protected]:~/pigs $ sudo lsof -i :80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
lighttpd 541 www-data 4u IPv4 17264 0t0 TCP *:http (LISTEN)
lighttpd 541 www-data 5u IPv6 17265 0t0 TCP *:http (LISTEN)
it looks like another 'web' server "light tpd" was installed or started and it is using the http port 80, which is what pigs/dvr requires.
you need to disable or uninstall that.

The pigs log messages are a little deceiving (needs to be fixed) it said it could not bind to port 80 (true), then it said serving on port 80 (its not)

and googling a little, i'm guessing you installed Pi-Hole, which seems to install lighttpd. There is a way to change the port that pi-hole listens on in one of its config files. change the pile-hole config file to port say 8080 instead of 80 , reboot, then pi-hole will be available
then to access pi-hole you'd type <some ip>:8080 to get to its UI
someone did it here a while back. maybe you can search for that post...

actually @Alainl12 gave you that answer directly in this post Running Pi-Hole with PiGS
 

·
Registered
Joined
·
5 Posts
Boy you are on top of your game. After you posted that Lighttpd was using port 80, I also did a search to find out what lighttpd was. I assumed it was installed with an update I did the other day but now realise it was part of Pihole. I just uninstalled Pihole because it wasn't working the way I had hoped. I simply uninstall lighttpd and pigs is running again.

Thanks for you help.
 

·
Registered
Joined
·
295 Posts
Discussion Starter #683 (Edited)
Channel Master has changed the name of their hosting server on amazonaws (see dig below)

It was: "http://proxy-elb-1800886808.us-west-2.elb.amazonaws.com"
and now its: dvrnew-elb-579886328.us-west-2.elb.amazonaws.com.

I was using that cname url to bypass (the redirected) epg.channelmastertv.com like this to get to the CM images, etc
but it does not work with the new server name like this

It's almost like the new server/ip is inspecting who is asking... is that possible?

Update:
The new server inspects the 'Host:' header of the HTTP GET and if it is not epg.channelmastertv.com, it rejects the request.
Because they updated the global DNS entry to the "dvrnew" server, that is the one that is being used for anyone using the CM/Rovi servers.
The 'proxy' server is still out there and a direct dns request to it provides an IP - it is still active (ping proxy-elb-1800886808.us-west-2.elb.amazonaws.com)
The new server does not gzip the json response right now so it took about twice as long for the update to occur.

; <<>> DiG 9.11.5-P4-5.1+deb10u2-Raspbian <<>> epg.channelmastertv.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46341
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;epg.channelmastertv.com. IN A

;; ANSWER SECTION:
epg.channelmastertv.com. 258 IN CNAME dvrnew-elb-579886328.us-west-2.elb.amazonaws.com.
dvrnew-elb-579886328.us-west-2.elb.amazonaws.com. 18 IN A 44.239.52.248
dvrnew-elb-579886328.us-west-2.elb.amazonaws.com. 18 IN A 34.209.184.157

;; Query time: 47 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Mon Nov 23 08:21:36 CST 2020
;; MSG SIZE rcvd: 143

The url alone yields this:
dvrnew-elb-579886328.us-west-2.elb.amazonaws.com

dvrnew.PNG
 

·
Registered
Joined
·
2,206 Posts
Yesterday I installed v1.21 and want to thank Timothee for this latest update and the fact that he continues his work on PiGS to continue improving it!

It is running on a 64bit Win10 desktop. Ran it for the second time this AM and no issues to report.
 

·
Registered
Joined
·
10 Posts
Went to the website to download v1.21 for windows and the zip file that downloads is v1.12. Is this a type o for the name of the file or is it still v1.12? Any insights would be appreciated. Thanks
 

·
Registered
Joined
·
2,206 Posts
I did the same thing yesterday and had NO issue. I just did it again and had NO issues. So double check what YOU are doing and downloading.
 

·
Registered
Joined
·
295 Posts
Discussion Starter #687 (Edited)
PiGS Version 1.21 is now available.

This morning I uploaded PiGS V1.21 to Downloads – PiGS – The CM-7500 DVR+ Replacement EPG! The Windows Portable Installer is also available.

V1.21 fixes the local time conversion issue (noticed after DST ended), adds the now dead stb.channelmastertv.com to the list of CM urls to ignore (if you are using the pigs DNS server), and improves error handling (exceptions with better logging). I did a little work in the DNS server, silenced the 'cannot resolve... messages' and improved the /pigstatus command (remembers dvr's when PiGS quits). The full list of changes can be viewed in ReleaseNotes.txt

It also adds a 2 web commands for troubleshooting and searching.

Added a program Search command
<your-pigs-ip>/search?title=blue&new=true
Will find ‘New’ programs with ‘blue’ in the Title (e.g. Blue Bloods). I used this feature right from my phones browser the other day when I came upon an in-progress Sara’s Weeknight Meals – she was making some Thanksgiving dish that looked interesting. Since PBS repeats shows, I wanted to see when that episode might be on next. I ran the search /search?title=sara’s and it came up with 10 results, including episodes that ran yesterday (the PiGS schedule might go back 1-2 days), which allowed me to find it quickly.​
Here is a list of all the search parameters available. Used alone it will list the 1st 100 guide entries​

  • title= # string to find in Title (case insensistive)
  • copy= # string to find in description Copy (case insensistive)
  • channel= # display listings for specific channel 3.1
  • startdate= # Zulu starting time format must be exact 2020-10-31T00:00:00Z
  • duration= # Max minutes to search forward. Math works eg 2*24*60 = 2 days
  • zulu=true # default output in Zulu time as received, false = local time
  • expand=false # true = show full description copy. Default false, about 100 chars
  • limit=100 # limit to N results. Default 100. 0 means all
  • pid=false # Display the SD ProgramID in description
  • new=false # Display shows with the 'New' flag set
You only need to use the keys you need, each separated by &. This is an AND search. All conditions specified must be true to be a match. Copy can be used to find episode names or number, actor names, etc. For Title & Copy search, its a sub-string match, not a word-match so "nypd" finds nypd blue, but "Nypd blue" does not (2 spaces)​
Schedule Search Examples​
Display full schedule for channel 3.1​
/search?channel=3.1&zulu=false (display schedule local time, limited to 100 results)
/search?channel=3.1&limit=0 (shows all results)
Find all programs with the word 'fire' in the description​
/search?copy=fire
Actor search: find all programs with the word 'franz' in the description (requires pigs [x] Append Cast option​
/search?copy=franz
Show name search: Find nypd blue with expanded descriptions​
/search?title=nypd&expand=true

Added <your-ip>/showlineup (for troubleshooting) that provides details of each configured channel:
VChan RF CallSign Affil Stn ID Lineup Icon Link
3.1 11 WISCDT CBS 25124 USA-OTA-53593 http://epg.channelmastertv.com/sdicons/3.1.png
3.2 11 WISCDT2 MNT 25125 USA-OTA-53593 http://epg.channelmastertv.com/pinkpig.png
 

·
Registered
Joined
·
295 Posts
Discussion Starter #688
I did the same thing yesterday and had NO issue. I just did it again and had NO issues. So double check what YOU are doing and downloading.
Check on the PiGS UI again LEN. I think you ended up with 1.12 and not 1.21 - I think the Windows link WAS messed up until a few seconds ago.
 

·
Registered
Joined
·
2,206 Posts
Tim,

Here is my JSON from yesterday download:

"sdusername": "lenlab",
"sdsha1pwd": "337ed06907f388dee3ac882b9d02004693f475cd",
"Server_IP": "0.0.0.0",
"Server_Port": 8000,
"RebuildSecs": 82800,
"IconType": 1,
"CacheCMIcons": true,
"CacheSDIcons": true,
"SaveFsSDIcons": false,
"SDImSize": [
72,
54
],
"SDImResample": 3,
"SDImReduceGap": null,
"SdIconTheme": "dark",
"DefaultIcon": "pinkpig.png",
"PrependEpisode": true,
"AppendCast": true,
"LoggingLevel": 20,
"LoggingFile": "pigslog.txt",
"LastSchdBuild": "2020-11-24 07:00:17(Eastern Standard Time)",
"LastSvcBuild": "2020-11-24 06:59:23(Eastern Standard Time)",
"PiGS_Version": "V1.21 2020-Nov-17",
 

·
Registered
Joined
·
295 Posts
Discussion Starter #691 (Edited)
What do you mean Gmail? If you're trying to download the Windows version, it's a common message. It's a false positive for a virus but the Windows version doesn't have a virus. You can search the thread for details on this that Frank70 documented.
 

·
Registered
Joined
·
2,206 Posts
Timothee,

I have to apologize. While I run on windows I do not download the windows version. I am downloading the Linux version and setting it up for Windows. I missed the fact that it was the Windows version that was having the link problem.
 

·
Registered
Joined
·
68 Posts
Oops. Gmail says a virus was blocked and can't open 1.21.
What do you mean Gmail? If you're trying to download the Windows version, it's a common message. It's a false positive for a virus but the Windows version doesn't have a virus. You can search the thread for details on this that Frank70 documented.
I was using a faster computer to send the zip file to the PiGS machine which is pretty slow and when I did this came up : One of your attachments contained a virus. Your message was not sent.
I'm aware of the false virus issues and will try to download directly.
 

·
Registered
Joined
·
295 Posts
Discussion Starter #695

·
Registered
Joined
·
295 Posts
Discussion Starter #696 (Edited)
I'm aware of the false virus issues and will try to download directly.
On a Pi cmd line you might be able to:

cd /home/pi/pigs (or whatever your install directory is)
wget http://pigs.goihl.com/zips/pigs-v121-20Nov17.zip
then
xarchiver --extract-to=. pigs-v121-20Nov17.zip

extract to '.' is the current directory or you could list the full path

xarchiver --extract-to=/home/pi/pigs pigs-v121-20Nov17.zip

This is the cmd for the windows version, but you shouldnt need it on a Pi
wget http://pigs.goihl.com/zips/PiGS-v1.21-For-Windows-Portable.zip
 

·
Registered
Joined
·
88 Posts
I downloaded from your site without problem and it works perfectly. Thanks!!
I don't know what I'm doing wrong. I have spent over 5 hours on a pc and a pi and both places all I see is Login Status : Failed! I signed up for the free trial. Do I have to pay for this to work?
 

·
Registered
Joined
·
1,729 Posts
I don't know what I'm doing wrong. I have spent over 5 hours on a pc and a pi and both places all I see is Login Status : Failed! I signed up for the free trial. Do I have to pay for this to work?
Should work for the 7-day trial period with the username and password you set up; mine did. Have you logged in with that username and password to the Schedules Direct web site to make sure you have an active account? Yes you'll eventually have to pay for membership, but at $25/yr, it's a real bargain considering the quality of the schedule data you get.

Maybe you didn't enter the username or password exactly as you remember.
 

·
Registered
Joined
·
295 Posts
Discussion Starter #700 (Edited)
I don't know what I'm doing wrong. I have spent
I agree with what Frank said. First test your login on the schedule direct website. Make sure you have Json service selected on the schedule direct website h there's an entry for Pigs or you can use any one of the other JSON services. I don't know if that matters or not for access. It's under my account, edit account details
schedulesdirect.org/account/edit

If all else fails and you're comfortable sharing your login/password for schedule direct with me the developer send it to [email protected]. Don't do that if you're using the same username and password for other accounts though.

One more thing you can do is check your pigslog.txt file or email that to me to the same email and we'll see if there's something in there that explains it
 
681 - 700 of 784 Posts
Top