Jump to content

PHP Stream URL from XML Playlist


samuel90

Recommended Posts

I have goood news :happy-04:  :happy-04:  :happy-04:  :happy-04: 

​Somehow the PDO does not work with my free host provider or I do something wrong, but I used the old MySQL string to establish connection.

​Ok the script now works, it loads the XML and exports the Channel Name and Channel URL to my database, and with the Primary Key set to Channel Name it now updates the URLs in the database. I manipulated the URLs on purpose to see if it does update, and yeah finally it works :happy-04:  :happy-04:  :happy-04:

So now what should be done to update the URLs periodically or only when the XML is updated, and how to link the URL in the database with the one in my playlist?

Let's name the file Link_update.php in which the working script is now
 

Edited by samuel90
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.