MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins » Hot Plugins » My TVSeries


My TVSeries MediaPortal MyTV-Series plugin

Reply
 
LinkBack (2) Thread Tools Display Modes
Old 2007-04-12, 20:03   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Portal Designer
 
Inker's Avatar
 
Join Date: Dec 2004
Posts: 1,550
Thanks: 34
Thanked 133 Times in 57 Posts

My System

Question Expressions/Rules requests

Please use this thread to request Parsing Expressions and Logo Rules. Follow-up questions are allowed, any other talk should not go here.

Be as decisive as possible when making a request. Include at least one full example. Be nice and be aware that your request may or may not be fullfilled.

I would suggest that if you fullfill a request, you add it to the exchange thread to keep them all in one place. Simply reply to the requester with a quote and a link to your reply in the exchange thread.

Thank you in advance for any request you might fullfill.

[UPDATE]

There is more and more threads about parsing problems. This is what this thread is for, please use it!

Any further threads about parsing problems that are not in this thread will be deleted.

Also, please if somebody made an expression for you that works, add it to the Expression exchange thread, nobody seems to do this. I know your excited once your series import, but please take 5 minutes so other people won't have to ask the same question again.

Thank you.
__________________

There are only two industries that refer to their customers as "users".
- Edward Tufte

Last edited by Inker; 2007-11-11 at 15:16.
Inker is offline   Reply With Quote
Old 2007-04-24, 19:53   #2 (permalink)
Portal Member
 
Join Date: Aug 2005
Location: B
Posts: 67
Thanks: 4
Thanked 0 Times in 0 Posts

Country:

My System

Default

I have 2 requests:
1/ Genre logo
2/ if filename contains HDTV, then HD logo

I have no idea how to get these 2 working, any help please?
Vergo is offline   Reply With Quote
Old 2007-04-25, 07:21   #3 (permalink)
Portal Member
 
pannivas's Avatar
 
Join Date: Jul 2006
Location: Nicosia
Age: 30
Posts: 305
Thanks: 15
Thanked 1 Time in 1 Post

Country:

My System

Send a message via MSN to pannivas
Default

Quote:
Originally Posted by Vergo View Post
I have 2 requests:
1/ Genre logo
2/ if filename contains HDTV, then HD logo

I have no idea how to get these 2 working, any help please?
but you can do that already for HD Logos, using these 2 rules.

If <Episode.videoHeight> >= 500 AND <Episode.videoWidth> >= 960 AND <Episode.videoHeight> != 720 use HD 540p logo

If <Episode.videoHeight> >= 720 AND <Episode.videoWidth> >= 1280 use HD 720p logo
pannivas is offline   Reply With Quote
Old 2007-04-25, 09:12   #4 (permalink)
Portal Member
 
Join Date: Apr 2007
Age: 27
Posts: 26
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Genre can be done 2 ways :

1. use dynamic filenames with <Series.Genre>
2. use <Series.Genre> contains 'comedy' etc for each of the logos.
EgoManiac is offline   Reply With Quote
Old 2007-04-25, 09:42   #5 (permalink)
Portal Designer
 
Inker's Avatar
 
Join Date: Dec 2004
Posts: 1,550
Thanks: 34
Thanked 133 Times in 57 Posts

My System

Default

If you want the hd based on the filename, then you can use
If <Episode.Episodefilename> contains 'hdtv'

As state, for genres there are two option, but option one is more convinient. But, and I'm not sure, it will probably not work fully yet as it will look for the exact combination of Genres. So for instance Action,Adventure would not try to load Action.jpg and Adventure.jpg but Action_Adventure.jpg. So for now, use option 2 :-)
__________________

There are only two industries that refer to their customers as "users".
- Edward Tufte
Inker is offline   Reply With Quote
Old 2007-04-29, 07:53   #6 (permalink)
Portal Member
 
Join Date: Nov 2006
Location: Durban
Age: 28
Posts: 199
Thanks: 3
Thanked 0 Times in 0 Posts

Country:


Default

Ok, i obviously am not as bright as i thought i was! lol. I am trying to make a logo rule to differentiate episodes backed up to DVD as apposed to eps that are actually on my server. For all episodes that are backed up, i created a standard little avi that says "Please insert relevant TVDVD" and then renamed them with the actual episode names so that My-Tvseries shows what is backed up to DVD in the normal menus. Whats the easiest way to get mytvseries to show a logo for these files? Should i edit the file names and put DVD in them? What would be the logo rule for that then? Any suggestions / advice would be appreciated.
Bobb25 is offline   Reply With Quote
Old 2007-04-29, 10:41   #7 (permalink)
Portal Member
 
G.B. Wolf's Avatar
 
Join Date: Mar 2007
Age: 27
Posts: 215
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Default

Quote:
Originally Posted by Bobb25 View Post
Should i edit the file names and put DVD in them? What would be the logo rule for that then? Any suggestions / advice would be appreciated.
This would be something like:

Type: Logo Rule
DVD-Logo
Description:
Show a DVD-logo if filename contains "DVD"
Expected Filename: static
Rule:
Code:
Thumbs\TVSeries\DVD.png;-;<Episode.EpisodeFilename>;-;contains;-;DVD;-;AND;-;;-;=;-;;-;AND;-;;-;=;-;;-;
G.B. Wolf is offline   Reply With Quote
Old 2007-04-29, 10:42   #8 (permalink)
Portal Member
 
G.B. Wolf's Avatar
 
Join Date: Mar 2007
Age: 27
Posts: 215
Thanks: 2
Thanked 2 Times in 2 Posts

Country:

My System

Default

Quote:
Plugins\Windows\Logos\dolby_logo.png;-;<Episode.AudioChannels>;-;>=;-;6;-;AND;-;;-;=;-;;-;AND;-;;-;=;-;;-;
This should be >=5.
G.B. Wolf is offline   Reply With Quote
Old 2007-05-03, 03:06   #9 (permalink)
Portal Member
 
Join Date: Nov 2006
Age: 26
Posts: 86
Thanks: 1
Thanked 3 Times in 1 Post


Default

Somehow the aspect ratio rule doesn't work here. Could it be because in the database there is a 1.7xxxx but on my system , is the default character for decimals ? I tried 1.7 and 1,7 as a <= rule but it won't work. For now I had to use a workaround with contains 1.7 but it seems ugly
__________________
Rename your Mediafiles with MediaRenamer
ccMatrix is offline   Reply With Quote
Old 2007-05-05, 10:45   #10 (permalink)
Portal Member
 
Join Date: Aug 2006
Posts: 97
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

Quote:
Originally Posted by ccMatrix View Post
Somehow the aspect ratio rule doesn't work here. Could it be because in the database there is a 1.7xxxx but on my system , is the default character for decimals ? I tried 1.7 and 1,7 as a <= rule but it won't work. For now I had to use a workaround with contains 1.7 but it seems ugly
ccMatrix,

if you are trying to show the 16:9 logo shouldn't you set the ratio to "greater than" 1.7? And not "less than" as you wrote above...

Regards
nylonhof
nylonhof is offline   Reply With Quote
Reply

Bookmarks

Tags
expressions or rules, requests

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/my-tvseries-162/expressions-rules-requests-21978/
Posted By For Type Date
Den store Mediaportal-tråden 18.07: RC2 sluppet&#33; - Forum - Diskusjon.no This thread Refback 2008-07-27 16:09
Extensions-Plugins/MP-TVSeries/Configuration - MediaPortal Documentation This thread Refback 2008-07-21 20:18

Similar Threads
Thread Thread Starter Forum Replies Last Post
Expressions/Rules exchange Inker My TVSeries 12 2008-09-05 17:45
Default expressions/double episodes Vergo My TVSeries 31 2008-09-01 09:32
Regular Expressions question johnslayer MediaPortal 1 Talk 2 2006-07-02 18:26
3 requests Anonymous Improvement Suggestions 0 2004-05-09 16:08


All times are GMT +1. The time now is 04:48.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress