Two xdms.php code questions

Asked by Bartek

I hope that I'm bothering You guys last time before xmas :)

1. Hack to save ip somewhere looks very easy. Is it safe to add addidional colum in clients table, or it would be better adding separate table for my hack with displayID foregein key? Probably modyfing existing table could cause some problems later, when updating to next versions - some risk of alter table fails etc?

2. Some time ago i had a problem with client with scheduled layout. When sheduled something, client didn't started downloading just after shedule was accepted and recheck interval ticked. When checked day later files where already on hdd. Today i've found $plus4hours viariable and related WHERE starttime limitations. Am I correct that client starts downloading sheduled layouts only when there is less than 4 hours to broadcast time? If yes, is it safe to raise $plus4hours value to something near one week? Probably i don't need to explain why i'm asking about it :)

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Bartek
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

Hi Bartek

As ever Dan will be able to give you 100% answers but here's my thoughts:

1. I'd have it as a separate table - that way you won't run in to issues on upgrades.

2. On 1.1 series code that's set to 84600 seconds (24 hours) for RequiredFiles routine so assuming 1.0 is the same in that respect then I don't see why you couldn't try extending it. As ever make backups and as it's not tested or supported mod you're on your own with it.

Alex

Revision history for this message
Bartek (czajka) said :
#2

Thanks. Thats all that i've wanted to know.