Closed GoogleCodeExporter closed 9 years ago
Are you putting a space between the countries? i.e. US UK
What are the exact country codes you are using? You can also try running the
script by hand.
Under the utils directory there is a script called grabshowsall.pl. You can
execute it as follows:
./grabshowsall.pl /tmp/shows "US UK"
The output will be in the file /tmp/shows
Original comment by chadopp@gmail.com
on 17 Oct 2013 at 1:15
Yes, I am putting a space between countries. The final goal is to pull shows
from US UK and CA.
Using the MYTHWEB interface (tested on Chrome and Firefox)
Retrieval of any one country works fine.
The error shows up when using "US UK" ("UK US" has the same results)
"UK CA", "CA US" work without a problem.
The triple "US UK CA" (checked different orders too) does not work.
When RUNNING SCRIPT by hand, the shows file is created correctly (no errors
generated -- attached).
cd /usr/share/mythtv/mythweb/modules/episode/utils/
./grabshowsall.pl /tmp/showsUSUKCA "US UK CA"
./grabshowsall.pl /tmp/showsUSUK "US UK"
Original comment by wila...@gmail.com
on 17 Oct 2013 at 1:49
Attachments:
Look at how it is being saved in your config.ini file. It should look like
this:
countryList = US CA UK
No double quotes and 1 space between each country.
Original comment by chadopp@gmail.com
on 18 Oct 2013 at 2:38
config.ini looks exactly like you said it should (copy below).
; The default view displayed when you load the mainpage.
; all - display all TV shows ever aired
; current - display TV shows that are currently being aired
; recorded - display TV shows that you have previously recorded
defaultView = recorded
; This is used to determine what the percent of matching
; between mythdb subtitles and tvrage subtitles. i.e Alter Ego Altar Ego
; Going too low will cause a bunch of bogus matches. Best results are
; 80-90. 100 is exact match.
matchPercent = 85
; This is used to determine when the show data should be updated
; this value is in days
maxFileAge = 7
; Hide tvwish options by setting to 1 - 0 displays tvwish options
tvwishHide = 0
; Size in pixels of the episode thumbnail
thumbnailSize = 250
; List of countries to grab seperated by a single space (2 Characters)
; example: US CA UK
countryList = US CA UK
; Default Site for grabbing show/episode data
; Options - TVRage.com or TheTVDB.com
defaultSite = TVRage.com
; Default version of MythTV
; Options = .21, .22, .23, .24+
mythtvVersion = .24+
Original comment by wila...@gmail.com
on 18 Oct 2013 at 2:53
It looks like the grab of the shows is working fine then. Something in the
override is having issues parsing your recorded shows against the shows list.
Did you use mythepisode on an older version of mythtv or is .27 the first time
you used it?
You might try clearing out your override file to see what happens. Save the
original off some place safe.
Original comment by chadopp@gmail.com
on 18 Oct 2013 at 3:29
I finally tracked down the root problem. Php was running out of memory when
serializing the shows.dat file. For just US or just UK things fit in memory,
but combining the two was too much.
The fix was increasing php's memory right before serializing in show.php. Add:
ini_set("memory_limit", "128M");
Right before the lines
// Open showsDat for writing
$handle = fopen($showsDat, 'w') or die ("can't open showsDat");
Thank you for all your help and for providing this cool piece of software.
Original comment by wila...@gmail.com
on 23 Oct 2013 at 3:01
I'm glad you have it fixed. I haven't been running mythtv for about a year
now. I might install .27 and check things out. I will add your fix to trunk
for the next release. There are a handful of fixes in trunk so maybe I should
make a new version and release it.
Original comment by chadopp@gmail.com
on 23 Oct 2013 at 4:45
Also happy you like the software. Not perfect, but gets the job done most of
the time.
Original comment by chadopp@gmail.com
on 23 Oct 2013 at 4:50
Original comment by chadopp@gmail.com
on 23 Oct 2013 at 9:23
Original issue reported on code.google.com by
wila...@gmail.com
on 16 Oct 2013 at 2:38