Config for Recent added/created

This is the best place to post questions about the SwissCenter code, or to suggest improvements and/or bug-fixes.

Config for Recent added/created

Postby Magician » Thu Aug 12, 2010 12:44 pm

I have created a config page for the recently added/created settings.
It is a simple page, but when using this, you don't need to edit them through the system settings.

If you use the latest svn (1420) just place the two files from the zip in the config-dir of SwissCenter.

Also add the following code to the English (en.xml) language file:
Code: Select all
      <string>
        <id>RECENT_OPTIONS</id>
        <text>Recent media options</text>
        <version>1.22</version>
      </string>
      <string>
        <id>RECENT_DATE_LIMIT</id>
        <text>Daylimit to show media as recent</text>
        <version>1.22</version>
      </string>
      <string>
        <id>RECENT_DATE_LIMIT_PROMPT</id>
        <text>The amount of days in the past that media added to SwissCenter will be shown in the 'Recent Media' on your mediaplayer.</text>
        <version>1.22</version>
      </string>
      <string>
        <id>RECENT_DATE_TYPE</id>
        <text>Date to determine media is recent</text>
        <version>1.22</version>
      </string>
      <string>
        <id>RECENT_DATE_TYPE_PROMPT</id>
        <text>What date has to be used to determine which media is recent?[br][list][*]Recently added: If it has recently inserted in the mediacollection of SwissCenter[*]Recently created: If it has recently been created on the system[*]Recently added or created: If is was either  recently inserted in the mediacollection of SwissCenter or recently created on the system[/lu]</text>
        <version>1.22</version>
      </string>

The english isn't that good I think...:blush:
Attachments
config_recent.zip
File attachment
(2.89 KiB) Downloaded 60 times
Pinnacle Showcenter 200
Vista x64 3TB Apache 2.2.14 / php 5.2.12 / mysql 5.1.43
SwissCenter: Latest SVN with local modifications.
Magician
Junior Member
Junior Member
 
Posts: 44
Joined: Thu Sep 04, 2008 2:17 am
Location: Netherlands
Country: Netherlands (nl)

Re: Config for Recent added/created

Postby Pernod » Thu Aug 12, 2010 1:18 pm

I'll probably submit this. My only comment would be to move the option to the Advanced section and not be under Media Management.

Thanks.
Players : Popcorn A-300 | Popcorn A-200 | Popcorn A-100 | Netgear EVA700
Webserver : Simese v2.6.5 | Apache 2.2.21 | PHP v5.2.17 | MySQL v5.1.32
Server : Windows 7 Professional 64bit - Intel i7-4770K @4.2GHz - 16GB RAM - 5TB HDD | Synology DS412+
AV : Pioneer VSX-915 | Samsung LE40C650

Image
User avatar
Pernod
Senior Member
Senior Member
Developer
 
Posts: 4341
Age: 43
Joined: Thu Jan 25, 2007 6:21 am
Location: Croydon, UK
Country: United Kingdom (uk)

Re: Config for Recent added/created

Postby Magician » Thu Aug 12, 2010 4:23 pm

I wasn't sure where to put it. I set it under media management because there you can manage all media-information. But I agree the Advanced section would be better.
Pinnacle Showcenter 200
Vista x64 3TB Apache 2.2.14 / php 5.2.12 / mysql 5.1.43
SwissCenter: Latest SVN with local modifications.
Magician
Junior Member
Junior Member
 
Posts: 44
Joined: Thu Sep 04, 2008 2:17 am
Location: Netherlands
Country: Netherlands (nl)


Return to General Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron