spacer
spacer search

SwissCenter

Search
spacer
Main Menu
Home
Documentation + FAQ
Screenshots
Downloads
Forums
Bug Tracking
History
Login
Username

Password

Remember me
?
No account yet?

Locations of visitors to this page

 
Home arrow Forums

SwissCenter Forums  


Updating TV Details - 2010/03/18 14:35 Anyone else having problems updating TV details? I get the following when I try and update the details on a file (using either TVDB or epguides)

PHP Fatal error: Cannot redeclare get_parsers_list() (previously declared in C:\Documents and Settings\All Users\Application Data\Simese\Data\config\config_tv.php:16) in C:\Documents and Settings\All Users\Application Data\Simese\Data\ext\parsers\movie\base\get_parsers_list.php on line 19
Showcenters 1000g/250HD/Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP SP3 Simese 2.6.4 Beta SwissCenter latest SVN
NAS Server Intel PD 2.66Ghz/2GB Mem/1.5TB Storage
Hauppauge HVR 1600 GB-PVR
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/18 15:04 Interesting...

If Swissmonitor (or media search) picks up the file, it goes and gets the details just fine. However, if I try and do the update manually within the config then I get the above error and it does nothing.
Showcenters 1000g/250HD/Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP SP3 Simese 2.6.4 Beta SwissCenter latest SVN
NAS Server Intel PD 2.66Ghz/2GB Mem/1.5TB Storage
Hauppauge HVR 1600 GB-PVR
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/18 15:19 Uh oh.. I'm wondering if this isn't a side effect of the new movie parser implementation since that's where the file get_parsers_list.php came from... Showcenters 1000g/250HD/Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP SP3 Simese 2.6.4 Beta SwissCenter latest SVN
NAS Server Intel PD 2.66Ghz/2GB Mem/1.5TB Storage
Hauppauge HVR 1600 GB-PVR
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/18 17:01 Same problem here.
Exact same error:
Code:

 Fatal errorCannot redeclare get_parsers_list() (previously declared in <swisspath>\config\config_tv.php:16in <swisspatch>\ext\parsers\movie\base\get_parsers_list.php  on line 19

Pinnacle Showcenter 200
Vista x64 3TB Apache 2.2.14 / php 5.2.12 / mysql 5.1.43
SwissCenter: Latest SVN with local modifications.
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/18 17:13 I think I solved it

In the file video_obtain_info.php I moved the line
Code:

   require_once (realpath(dirname(__FILE__) . '/config/config_movie.php'));



from the top to line 189, inside the function extra_get_all_movie_details().

I attached my file.
Pinnacle Showcenter 200
Vista x64 3TB Apache 2.2.14 / php 5.2.12 / mysql 5.1.43
SwissCenter: Latest SVN with local modifications.
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/18 17:17 Now the correct file.
File Attachment:
File name: video_obtain_info_00001.zip
File size:4169 bytes
Pinnacle Showcenter 200
Vista x64 3TB Apache 2.2.14 / php 5.2.12 / mysql 5.1.43
SwissCenter: Latest SVN with local modifications.
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/18 18:02 The new movie parser stuff does conflict with the existing TV parsers. I am currently making some minor changes to Utsi's implementation and converting the TV parsers to the same framework. This will be submitted soon(ish). Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208)
Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32
Server : Windows 7 Home Premium 64bit
Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD
AV : Pioneer VSX-915 | Samsung LE40C650
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/18 18:48 Well I replaced that file and now the TV thing is working but the system tests are failing...

Crud
Showcenters 1000g/250HD/Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP SP3 Simese 2.6.4 Beta SwissCenter latest SVN
NAS Server Intel PD 2.66Ghz/2GB Mem/1.5TB Storage
Hauppauge HVR 1600 GB-PVR
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/19 14:35 Sorry, didn't test it that well

but because the 'require_once' was moved, it didn't work in the checks anymore.
To repair this add the following to the list of require_once in the config_check.php:
Code:

 require_once (realpath(dirname(__FILE__) . '/config_movie.php'));



This should fix the checks.

Could you also verify if the SwissMonitor is still working?
Pinnacle Showcenter 200
Vista x64 3TB Apache 2.2.14 / php 5.2.12 / mysql 5.1.43
SwissCenter: Latest SVN with local modifications.
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/19 14:54 Magician wrote:
To repair this add the following to the list of require_once in the config_check.php:
Can you upload your config_check.php so I don't have to guess where that goes?

Then I will install the files and check the SwissMonitor.
Showcenters 1000g/250HD/Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP SP3 Simese 2.6.4 Beta SwissCenter latest SVN
NAS Server Intel PD 2.66Ghz/2GB Mem/1.5TB Storage
Hauppauge HVR 1600 GB-PVR
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/19 15:32 Sure
here it is:
File Attachment:
File name: config_check.zip
File size:3418 bytes
Pinnacle Showcenter 200
Vista x64 3TB Apache 2.2.14 / php 5.2.12 / mysql 5.1.43
SwissCenter: Latest SVN with local modifications.
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/19 16:15 OK, I added your two files.

TV Lookup and System tests are now fine.

However, while Swissmonitor adds the file, the parser doesn't get called so no details are added.

Swissmonitor is also not clearing the database of files that are deleted.
Showcenters 1000g/250HD/Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP SP3 Simese 2.6.4 Beta SwissCenter latest SVN
NAS Server Intel PD 2.66Ghz/2GB Mem/1.5TB Storage
Hauppauge HVR 1600 GB-PVR
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/20 04:04 I don't use the SwissMonitor, so I'm not sure if this works.
But I think this solves it.

Edit: removed file. New file see post below.
Pinnacle Showcenter 200
Vista x64 3TB Apache 2.2.14 / php 5.2.12 / mysql 5.1.43
SwissCenter: Latest SVN with local modifications.
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/20 09:24 Still not working. Showcenters 1000g/250HD/Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP SP3 Simese 2.6.4 Beta SwissCenter latest SVN
NAS Server Intel PD 2.66Ghz/2GB Mem/1.5TB Storage
Hauppauge HVR 1600 GB-PVR
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/20 10:43 I found a typo..
Here a new one...
File Attachment:
File name: media_monitor_00001.zip
File size:1252 bytes
Pinnacle Showcenter 200
Vista x64 3TB Apache 2.2.14 / php 5.2.12 / mysql 5.1.43
SwissCenter: Latest SVN with local modifications.
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/20 11:36 Well... the good news is that it correctly removed the files from the database. The bad news is that now it isn't even picking up the new file (before it was adding the file but not calling the parser). Showcenters 1000g/250HD/Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP SP3 Simese 2.6.4 Beta SwissCenter latest SVN
NAS Server Intel PD 2.66Ghz/2GB Mem/1.5TB Storage
Hauppauge HVR 1600 GB-PVR
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/20 11:48 That's strange, didn't change something there...
What does your log say?
Pinnacle Showcenter 200
Vista x64 3TB Apache 2.2.14 / php 5.2.12 / mysql 5.1.43
SwissCenter: Latest SVN with local modifications.
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/20 12:06 Magician wrote:
That's strange, didn't change something there...
What does your log say?

After the file is removed, the log doesn't say anything because SwissMonitor is never seeing the file being added to the directory.
Showcenters 1000g/250HD/Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP SP3 Simese 2.6.4 Beta SwissCenter latest SVN
NAS Server Intel PD 2.66Ghz/2GB Mem/1.5TB Storage
Hauppauge HVR 1600 GB-PVR
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/21 08:29 And try again...

You updated to the latest svn (r1391) I assume?
There were some changes to this file by Pernod (in r1390).

The last file I uploaded was with the wrong svn base...

In this version of the media_monitor.php I used the one of r1391.

Sorry for your trouble.
File Attachment:
File name: media_monitor_00002.zip
File size:1736 bytes
Pinnacle Showcenter 200
Vista x64 3TB Apache 2.2.14 / php 5.2.12 / mysql 5.1.43
SwissCenter: Latest SVN with local modifications.
  | | The administrator has disabled public write access.
Re: Updating TV Details - 2010/03/21 08:48 Hold the fort...

Without trying the new file you posted last night I added "New Moon" and SwissMonitor picked it right up.
Showcenters 1000g/250HD/Popcorn Hour A-100
Netgear HDX101 Powerline Adapters
Windows XP SP3 Simese 2.6.4 Beta SwissCenter latest SVN
NAS Server Intel PD 2.66Ghz/2GB Mem/1.5TB Storage
Hauppauge HVR 1600 GB-PVR
  | | The administrator has disabled public write access.
spacer
 

Screenshots

www.flickr.com
This is a Flickr badge showing public photos from swisscenter. Make your own badge here.


 

Mambo is Free Software released under the GNU/GPL License.
spacer