Automatic update of catalog?

General discussion about netjukebox
Post Reply
simonmason
User
Posts: 16
Joined: Sun Apr 12, 2009 4:15 pm

Automatic update of catalog?

Post by simonmason »

Is there a way to have netjukebox automatically update the catalog without having to manually start it from the administration interface? Perhaps run a php script or something on the web server? Thanks.
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Automatic update of catalog?

Post by wbartels »

RTFM :wink:

See readme.txt:

Code: Select all

+------------------------------------------------------------------------+
| Command line update                                                    |
+------------------------------------------------------------------------+
netjukebox update can be run from the command line.
This way it is possible to schedule an update with a Windows Scheduled Task or Linux Cron Job.
Example:
C:\PHP\php.exe "D:\Internet\netjukebox\update.php" update silent
simonmason
User
Posts: 16
Joined: Sun Apr 12, 2009 4:15 pm

Re: Automatic update of catalog?

Post by simonmason »

Thanks.
simonmason
User
Posts: 16
Joined: Sun Apr 12, 2009 4:15 pm

Re: Automatic update of catalog?

Post by simonmason »

I tried running this on the server and I get this repeatedly. I also get this when I run through the web interface. However, it appears that the update does work.

Notice: Uninitialized string offset: 6 in E:\www\netjukebox\getid3\getid3\modul
e.tag.id3v2.php on line 1855
PHP Notice: Uninitialized string offset: 6 in E:\www\netjukebox\getid3\getid3\
module.tag.id3v2.php on line 1859

Notice: Uninitialized string offset: 6 in E:\www\netjukebox\getid3\getid3\modul
e.tag.id3v2.php on line 1859
PHP Notice: Uninitialized string offset: 6 in E:\www\netjukebox\getid3\getid3\
module.tag.id3v2.php on line 1855

Notice: Uninitialized string offset: 6 in E:\www\netjukebox\getid3\getid3\modul
e.tag.id3v2.php on line 1855
PHP Notice: Uninitialized string offset: 6 in E:\www\netjukebox\getid3\getid3\
module.tag.id3v2.php on line 1859

Notice: Uninitialized string offset: 6 in E:\www\netjukebox\getid3\getid3\modul
e.tag.id3v2.php on line 1859
PHP Notice: Uninitialized string offset: 6 in E:\www\netjukebox\getid3\getid3\
module.tag.id3v2.php on line 1855

Notice: Uninitialized string offset: 6 in E:\www\netjukebox\getid3\getid3\modul
e.tag.id3v2.php on line 1855
PHP Notice: Uninitialized string offset: 6 in E:\www\netjukebox\getid3\getid3\
module.tag.id3v2.php on line 1859
Post Reply