offline mode update

Asked by pj

Hi expert,

I learn offline mode, download from pendrive and upload from client. Our Initial process are put the non-network PC's on-line for the first run of Xibo, wait for it to download all its content and start playing.

here is my questions:
1. for updating of offline mode, is xibo download all media to PENdrive?
2. is xibo can download only the newer media to update the client?

because if xibo offline mode download all media to pendrive every time, then if my media total a 100GB so then we need also a 100+GB.

3. when uploading to the client, what is the process of xibo client, is delete all media first and load all media from the usb We hope is not like that.

thanks

Question information

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

The offline update client downloads all media to the pen drive each time.
The clients updating from the pen drives will only take anything that has
changed.

Revision history for this message
pj (puye) said :
#2

Sir Alex Thanks for fast response,

Sir is there anyway to download only the changes from the server to my pen drive?

Revision history for this message
Alex Harrington (alexharrington) said :
#3

Not without rewriting the download application to do that.

Revision history for this message
Alex Harrington (alexharrington) said :
#4

I've had a quick look and it doesn't look like a massive amount of work.

You'd need to stop the client deleting the existing library folder for that client here:
http://bazaar.launchpad.net/~xibo-maintainers/xibo/biela/view/head:/client/offline/XiboOfflineDownload.py#L270

Then you'll need to implement the checksum checks that are commented here:
http://bazaar.launchpad.net/~xibo-maintainers/xibo/biela/view/head:/client/offline/XiboOfflineDownload.py#L586

and here:
http://bazaar.launchpad.net/~xibo-maintainers/xibo/biela/view/head:/client/offline/XiboOfflineDownload.py#L673

And then fix the progress bar as it'll probably break that doing anything useful.

If you do it, please let me have a patch back so we can release it.

Cheers

Alex

Revision history for this message
pj (puye) said :
#5

yes sir we will try then update you thanks and God Bless!

Revision history for this message
pj (puye) said :
#6

Sir My Boss asking if one of your programmer to do this, how much it would be the cost to done this? approximate cost?

Revision history for this message
Best Alex Harrington (alexharrington) said :
#7

I'll put something together for you later today. Thanks.
On Aug 25, 2011 11:32 AM, "pj" <email address hidden> wrote:
> Question #169133 on Xibo changed:
> https://answers.launchpad.net/xibo/+question/169133
>
> pj posted a new comment:
> Sir My Boss asking if one of your programmer to do this, how much it
> would be the cost to done this? approximate cost?
>
> --
> You received this question notification because you are a member of Xibo
> Developers, which is an answer contact for Xibo.

Revision history for this message
pj (puye) said :
#8

Thanks Alex Harrington, that solved my question.