Posts: 901
Joined: Feb 2005
Reputation:
3
Python and its indentation can be a pain, especially when spaces not tabs have been used.
I would like to put a 'PayPal Donate' button on (the thread?) but it's a bit awkward if the XBMC devs (the real heroes) don't have such a system themselves ?
Maybe a new thread/vote entitled "Is it justifiable for Python Scripters to use PayPal Donate" ?
Most do spend a lot of free (*cough* work) time on them afterall.
BBB
Posts: 44
Joined: Mar 2005
Reputation:
0
pdeg69
Junior Member
Posts: 44
I would support the Pay Pal idea! Starting MyTV and then push the right analog stick and chosing the reboot option locks XBMC. I do see the "just wait a moment" dialog appear but it it hangs XBMC and doesn't reboot. Manual reboot is the only option left. Regards, Peter
Posts: 901
Joined: Feb 2005
Reputation:
3
I'm guessing at this point, but I'd imagine myTV onAction isnt checking for that action code (if it even has one?) and possibly the XBMC.ShutDown() (as defined in keymap.xml) is having trouble closing if a script is still running.
Does the same happen with when running other scripts ? If so, it might be one to post in the xbmc bugs section.
Posts: 44
Joined: Mar 2005
Reputation:
0
pdeg69
Junior Member
Posts: 44
BBB sorry for my late reply. Problem doesnt happen with other scripts. Then again, this is imo such a minor problem that there is no need to worry about it. Just exiting with the "back" button and I'll be fine. Have a nice day and thanks again for your help. Regards, Peter
Posts: 901
Joined: Feb 2005
Reputation:
3
when you instruct a recording to be set with your SaveProgramme, on successful state being returned to myTV, it saves details (time in secs and channel id) to a timers file, then places a timer (clock) icon against the prog on the epg.
These timers are read from the local timers file each time myTV is started so the icons can be re-displayed. However, the Config Option 'Fetech Timers on Startup' will also cause a SaveProgramme.getTimers() functo be run that queries the external source. The idea behind that is that myTV is then upto date with any external setting/cancelling of recordings on the remote PC.
This is done in SaveProgramme Nebula and WebScheduler.
They also have the custom manage() func that is called (if exists) to manage Timers
If you ssend me your code I'll help you finish it.
bigbellybilly at gmail dot com
cheers
BBB
PS. Please use examples from myTV v1.17 for latest code
Posts: 2
Joined: Sep 2007
Reputation:
0
I think I got it... or at least I am on the way to fixing it. Seems the Zap2It has changed things a little bit. They are no longer being used as they were before and you must now use SchedulesDirect. You have to pay for their service, but the website says they want to get to $20/yr which doesn't seem too bad.
To fix the imediate problem of it not working, I opened the file myTV/system/mytvlib.py and did a search for datadirect.webservices.zap2it.com/tvlistings/xtvdService and replaced it with webservices.schedulesdirect.tmsdatadirect.com/schedulesdirect/tvlistings/xtvdService. Everything seems to work after that, but my wife kicked me off the xBox and decided to watch America's Next Top Model instead. She doesn't understand the scientific importance of this discovery. I will wait until she is asleep and check it out some more. If someone has already fixed this completely, I would love to hear about it.
Posts: 1,584
Joined: Nov 2007
Reputation:
44
wyrm
Skilled Skinner
Posts: 1,584
BigBellyBilly,
I'm using version 1.17 with the datasource au_YourTV to view program listings for our free to air channels. At the moment there are a number of channels that are listed, but are not transmitting any programs. Is there an easy way to hide (but not delete) the channel listings, so that the listing screen is not cluttered with currently unused channel info.
Maybe a "hide channel" button and a "show all channels" button could be included in the next release.
Please excuse me if such a thing already exists, but I'm buggered if I can find it, and it would certainly save digging around hand editing config files.
Thanks again for your great script.
If required a FULL debug log can now be submitted from the skin in settings->skin settings->support. Or follow instructions
here if you can't access skin settings.
FAQ's located at :-
http://kodi.wiki/view/Add-on:AppTV
Posts: 901
Joined: Feb 2005
Reputation:
3
You can re-arrange the available channels in the config menu to put the unused channels at the bottom.
Or edit the au_datasource.py to remove the unwanted channels from the defined list.
Posts: 901
Joined: Feb 2005
Reputation:
3
I'll look into adding a 'hide' option in the config menu 're-arrange channels' using a different keypad button that will toggle its state.