Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

2 Endorsements
Ranked #621
~13.4K People Reached
Favorite Tags
Member Avatar for mark103

Hey guys, I need some help with my code, I have a trouble with checking on two different strings as I want to check if the string in the variable `$program_times` are equal to `PM` and `$next_program_times` are equal to `AM`. When I try it, it will show nothing and …

Member Avatar for cereal
0
148
Member Avatar for mark103

Hi guys, I am working on my PHP script as I want to add the value in the variable to add it to 5 hours forward. When I use this: <?php $links = $row['links']; $html = file_get_html($links); $base = $row['links']; $curl = curl_init(); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($curl, CURLOPT_HEADER, false); curl_setopt($curl, …

Member Avatar for jkon
0
191
Member Avatar for mark103

Hey guys, I need some help with my code because I have a bit of trouble with changing the 12 hours time when I'm trying to change the strings in the object. When I try this: def GoLeft(self): if CurrentRow == 375: if self.channel_page >= 0: # Set the date …

Member Avatar for Gribouillis
0
258
Member Avatar for mark103

Hi all, I need some help with my code, because I have a bit of trouble with using the `cur.execute` in the loops. When I try this: for pos_X, pos_Y, prog_id, prog_width in zip(positions_X, positions_Y, programs_id, program_width): cur.execute('SELECT button_ids, button_width FROM buttons where button_ids=?', [prog_id)) if int(pos_X) == 375: if …

Member Avatar for Gribouillis
0
331
Member Avatar for mark103

I need some help with my code, I'm stored the list of elements in arrays and when I try to print the list of elements, it would print only one element where I have more than one. When I try this: pos_start = list() pos_top = list() pos_width = list() …

Member Avatar for woooee
0
278
Member Avatar for mark103

Hi guys I'm using the script `add_address.php` to output a list of email addresses from the `message` box to allowed me to split the email addresses to add to each comma. I want to output the email addresses from the `message` box to the `text` box in the `send.php` script …

Member Avatar for DaveAmour
0
200
Member Avatar for mark103

Hi guys, I need your help, I want to close a page when a button is pressed. I'm using the script `add_address.php` to output a list of email addresses from the `message` box and I want to output the email addresses to the `text` box in the `send.php` script Here …

Member Avatar for edbr
0
221
Member Avatar for mark103

Hi guys, I need some basic help with my code, I've created a empty list to appending the controls to a list to add the controls when I pressed on the down arrow button of the keyboard. I'm trying to appending another controls to a list to add the controls …

Member Avatar for mark103
0
425
Member Avatar for mark103

Hi guys, I'm creating the width size for the buttons when I'm getting a list of arrays so I can store the buttons size in a database. The types of arrays that I stored for the buttons and the buttons width size is a list. I have stored a list …

Member Avatar for TrustyTony
0
245
Member Avatar for mark103

Hi guys, I'm trying to write the code to allowed me to store each data in a database from the arrays, but it give me the error. [b]Error: InterfaceError: Error binding parameter 0 - probably unsupported type.[/b] Code: #generating the program button ids for generate_ids in range(3002, 3485): program_id.append(generate_ids) #create …

Member Avatar for Gribouillis
0
412
Member Avatar for mark103

Hi guys I need a bit of your help. I've created the variables that I want to store a list of arrays outside the for loop. I have got a problem with the code that I currently using. When I try this: import xbmc import xbmcgui import xbmcaddon class ProgramControls(object): …

Member Avatar for mark103
0
648
Member Avatar for mark103

Hi guys, I'm working on my python script to get the list of elements in the arrays. I'm using the variable `position_x = elem.getX()` to get the list of pixel size for the elements. Here is the output: 18:32:12 T:4060 NOTICE: 375 18:32:12 T:4060 NOTICE: 724 18:32:12 T:4060 NOTICE: 1073 …

Member Avatar for Gribouillis
0
241
Member Avatar for mark103

Hi all I have got a problem with the list of strings. I have got the full list of strings, but I can't be able to print for each string which I can only print for the full string. When I use this: programList = list() # set the channels …

Member Avatar for Gribouillis
0
268
Member Avatar for mark103

Hi guys, I'm created the variables in the loops to generating the list of values and channels, I want to use the variable outside of the loop so I can get the list of values. I have a problem with get the list of values. When I try this: # …

Member Avatar for Gribouillis
0
205
Member Avatar for mark103

Hi guys, I have added the list of buttons for the channels and programs in the xbmc skin. I have one yellow box on the channel and program box for both buttons. I want to know how I can move the yellow box to go to the next program when …

Member Avatar for Schol-R-LEA
0
178
Member Avatar for mark103

Hi all, I'm working on my python script as I'm pulling the data from the sqlite3 database. I'm trying to convert the string object to datetime object, but I have got a problem with the code as I get the error when I'm trying convert from the string object to …

Member Avatar for vegaseat
0
1K
Member Avatar for mark103

Hi guys, I'm working on my python script to create the button for tv programs. I know how to create the variable to get the program title for the programs which I have to pull the data from the sqlite database. I can also create the variable for the height …

Member Avatar for chriswelborn
0
180
Member Avatar for mark103

Hi guys, I need your help, I'm working on my vb.net application as I want to click the button on the webpage when i click on the form button, but I'm having a problem with click the button on the webpage as it will do nothing when i click on …

Member Avatar for mark103
0
215
Member Avatar for mark103

Hi all, I need your help, I'm working on my python script to get the list of channels and programs when I pulled the data from sqlite3 database. I'm using the variable of channel_per_page to get the range from 0 to 7 for channels that I want to pull the …

Member Avatar for slate
0
145
Member Avatar for mark103

Hi all I need your help, I'm working on my python script to fetch the list of channels from the sqlite3 database. I'm fetching 7 channels to set each channel in each label control 4010, 4011, 4012, 4013, 4014, 4015 and 4016. When I fetch the list of channels to …

Member Avatar for woooee
0
2K
Member Avatar for mark103

Hi all, I need some help regarding how to cancel the connection from my server using the urllib2 library. I want the database to stop writing the data away as soon as the connection has been cancelled. The `allchannels_timer` will be called when I hit the 'enter' button, which will …

Member Avatar for DragonMastur
0
368
Member Avatar for mark103

Hi all, I'm running on python version 2.6 for xbmc media application, but I'm having trouble with setLabel function. When I run the code, it will update the value in the setLabel, but it will not allow me to update the values in the setLabel more than once. Here it …

Member Avatar for vegaseat
0
411
Member Avatar for mark103

Hi all, I need your help, I'm having a trouble with writing the database at the same time when I'm using the time.sleep function. I can be able to create the database table without have any problem, but when I use the time.sleep function, it will stop writing the data …

Member Avatar for Hiroshe
0
312
Member Avatar for mark103

Hi guys, I need your help as I got stuck. I'm trying to fetch the data from my own xml which it looks like this: <?xml version="1.0" encoding="UTF-8" ?> <tv generator-info-name="www.mysite.com/xmltv"> <channel id='101 ABC FAMILY'> <display-name>101 ABC FAMILY </display-name> <programme channel="101 ABC FAMILY" start="20140520110000" stop="20140520120000"> <title lang="en">Gilmore Girls - Let …

Member Avatar for Gribouillis
0
249
Member Avatar for mark103

Hi guys, I need your help. I have .xml file in download directory on my server. whoever visit my site page (Myxmlfilename.xml) user should be able to download these files and other files should not. I am trying to achieve above but no luck... does anyone know how I can …

Member Avatar for cereal
0
190
Member Avatar for mark103

Hi all, I need your help as I got a problem with the strings. When I get the list of strings for the input, I keep getting the same strings over and over when I output them. Here is where you can see in the output: <tv generator-info-name="www.mysite.com/xmltv"> <channel id="101 …

Member Avatar for mark103
0
154
Member Avatar for mark103

I need some help with my PHP, I'm generating to make the xml output. In the xml output, I can see that I'm using double quotes but i want to use the single quotes. I want to add the single quotes in the <programme channel= tag to make it like …

Member Avatar for pritaeas
0
164
Member Avatar for mark103

Hi all, I need some help with my php script. I'm working on the script to parsing the time from my other script so I can convert the hours into format, example: the hours I parse is 1:00 AM so I can convert it to 20140427010000. Here is the list …

Member Avatar for diafol
0
318
Member Avatar for mark103

I need some help with set up the date format. I'm still trying to find out how I can set up the format to the next day, the day two and the day three date when I work out with the hours. Example: I set up the date format from …

Member Avatar for diafol
0
256
Member Avatar for mark103

Hi all, I need your help, I'm working on my php to get the list of contents from my get-listing.php script so I can generating the XML to output the contents into the XML. I have got a little bit of problem with output the contents. I'm still getting the …

Member Avatar for diafol
0
230