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.8K People Reached
Favorite Tags

41 Posted Topics

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
150
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
199
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
262
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
336
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
280
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
203
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
223
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
442
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
247
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
427
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
657
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
245
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
278
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
209
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
180
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
183
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
223
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
149
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
477
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
419
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
314
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
251
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
192
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
159
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
167
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
323
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
276
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
242
Member Avatar for mark103

Hi all, I need your help with my PHP, I'm working on the date and time format especially the year, month, day date, hours, minutes and seconds. I have got a little problem with the day date. Most of the day date are correct, but some of them are not …

Member Avatar for diafol
0
309
Member Avatar for mark103

Hi all, I'm working on my PHP to generating the xml output. I use simple_html_dom method to parsing the contains from my script called get-listing.php. Here is my PHP script: <?php ini_set('max_execution_time', 300); $errmsg_arr = array(); $errflag = false; $link; include ('simple_html_dom.php'); $base1 = "http://www.mysite.com/get-listing.php"; $html = file_get_html($base1); $countp = …

Member Avatar for veedeoo
0
160
Member Avatar for mark103

I have the list of tags in php and I want to get the contents. for example: <li class="zc-ssl-pg" id="row0-1" style=""> <span id="row1Time" class="zc-ssl-pg-time">6:00 PM</span> <a id="rowTitle1" class="zc-ssl-pg-title" href='http://www.mysite.com'>Melissa & Joey</a> <a class="zc-ssl-pg-ep" href='http://www.mysite.com'>"House Broken"</a> <li class="zc-ssl-pg" id="row1-1" style=""> <span id="row1Time" class="zc-ssl-pg-time">6:00 PM</span> <a id="rowTitle1" class="zc-ssl-pg-title" href='http://www.mysite.com'>The Middle</a> <a class="zc-ssl-pg-ep" …

Member Avatar for diafol
0
231
Member Avatar for mark103

Hi all, I need your help, I'm working on my PHP as I want to get the list of links for each array in get-listing.php. I want to get the list of links for each array like this: http://testbox.elementfx.com/get-listing.php?channels=ABC FAMILY&id=101 http://testbox.elementfx.com/get-listing.php?channels=CBS&id=102 http://testbox.elementfx.com/get-listing.php?channels=CNN USA&id=103 http://testbox.elementfx.com/get-listing.php?channels=ESPN USA&id=105 ..and so on I want …

Member Avatar for iamthwee
0
268
Member Avatar for mark103

Hi all, I need your help, I have got a problem with my python script. I'm using XBMC media application which they are using python 2.6v which they works the same way as the other version for python. When I'm pressing on the enter button of the keyboard, the code …

Member Avatar for mark103
0
318
Member Avatar for mark103

Hi guys, I need your help. I got a problem with playing the video formats on flash. I can't be able to play the live streams for some type of protocols in flash, e.g: http, rtsp, mms, m3u8, rtmp. I can play on some rtmp, but not most of all. …

Member Avatar for LastMitch
0
227
Member Avatar for mark103

Hi guys, I'm working on the div class of blocks to control them using the keyboard up and down arrow buttons. I have the list of blocks where 7 of them are showing while the other blocks are hiding. I have text of blocks from block 1 to block 17. …

Member Avatar for mark103
0
154
Member Avatar for mark103

Hi guys, I have got a problem with scraping the data from a third party website. I'm currently using a preg_match_all method with each different title tags including the values to output the data from a third party website to my website where I can see some of the data …

Member Avatar for diafol
0
266
Member Avatar for mark103

Hi guys, I really need your help, I have scraping the data from a website that i use to read the information on my php. I have a problem, I could not be able to scraping the right data from 5 hours backward of my current time, e.g my current …

Member Avatar for LastMitch
0
124
Member Avatar for mark103

Hi guys, I would like you to help me. I have figure out that I will get the errors of 'Form2' : undeclared identifier as if I included the "#include Form1.h" on the top of the Form2 class while I have the "#include Form2.h" on the top of the Form1 …

Member Avatar for Ancient Dragon
0
98
Member Avatar for mark103

Hi guys, I am new on this forum and I would like you to help me out regarding to the actual errors that I have got. I am using managed c++ as I have switched over from vb.net, however I need your help because I couldn't figure out the solutions …

Member Avatar for sergent
0
254

The End.