Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Update stream_source table

Fringe

Extended Member
Ext. Member
Joined
Sep 21, 2019
Messages
112
Reaction score
188
Points
54
Location
USA
Hey all

My SQL isn't brilliant so need some help. On my DB all my VOD films are pointing to the old XC server ID so need to change just that part to XC UI server ID. I thought this SQL query would be ok

UPDATE streams
SET stream_source = REPLACE(stream_source, 'S:39', 'S:12');

S:39 is the server ID on the old XC panel
S:12 is the new server ID on XC UI

but when i enter that query in the SQL part of phomyadmin and click 'Simulate Query' I get the following reply

SQL query:
UPDATE streams SET stream_source = REPLACE(stream_source, 'S:39', 'S:12')
Matched rows: 0

so its not making any changes, on the stream_source table films would still show as
eg,
["s:39:\/home\/FILMS\/A-E\/Aladdin (2019).avi"]
and not
["s:21:\/home\/FILMS\/A-E\/Aladdin (2019).avi"]
I must be missing something, so can anyone help?
 
in latest version of UI has mass edit for movies, with this can edit server for movies that you want
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top