SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Phoenix

Notices

Phoenix This forum is for discussing the user-created Phoenix custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-08-2013, 05:06 AM
imanewbe imanewbe is offline
Sage User
 
Join Date: Jul 2013
Location: Melbourne
Posts: 14
Padding for season and episode numbers not working

I have this mask:
-t "${MediaTitle} - ${SeasonNumber:%02d}x${EpisodeNumber:%02d} - ${EpisodeName}"
But the padding doesn't get added. It comes up with a warn:
WARN - Cannot rename ... since there is no meta data.
If I do this: -t "${MediaTitle} - ${SeasonNumber}x${EpisodeNumber} - ${EpisodeName}" it works fine.
Any ideas on why this would be happening? I saw in a comment in http://forums.sagetv.com/forums/showthread.php?t=58024 that some one was having the same issue but couldn't see a fix for it?
Reply With Quote
  #2  
Old 07-08-2013, 08:20 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
The -t is only required if want to use a different mask than the default. I think there is a bug in the current release... but you can drop the -t and mask entirely, if you are using the default mask (which it appears you are).
Reply With Quote
  #3  
Old 07-08-2013, 08:22 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
You can also try using %% instead of % in your command line... The reason is that in windows the % may be treated as a env lookup... so try the %% as in

Code:
-t "${MediaTitle} - ${SeasonNumber:%%02d}x${EpisodeNumber:%%02d} - ${EpisodeName}"
Reply With Quote
  #4  
Old 07-10-2013, 04:34 AM
imanewbe imanewbe is offline
Sage User
 
Join Date: Jul 2013
Location: Melbourne
Posts: 14
I tried doing this
Code:
phoenix-renamer " "The Almighty Johnsons - S03E01 - An Orchard of Trees.mp4" -t "${MediaTitle} - ${SeasonNumber:%%02d}x${EpisodeNumber:%%02d} - ${EpisodeName}"
but that just renamed the file from:
The Almighty Johnsons - S03E01 - An Orchard of Trees.mp4
to:
The Almighty Johnsons - %02dx%02d - An Orchard of Trees
Do I need to do add extra %'s?

Also the default is coming like this S01E01 not 01x01?
Reply With Quote
  #5  
Old 07-10-2013, 05:28 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by imanewbe View Post
I tried doing this
Code:
phoenix-renamer " "The Almighty Johnsons - S03E01 - An Orchard of Trees.mp4" -t "${MediaTitle} - ${SeasonNumber:%%02d}x${EpisodeNumber:%%02d} - ${EpisodeName}"
but that just renamed the file from:
The Almighty Johnsons - S03E01 - An Orchard of Trees.mp4
to:
The Almighty Johnsons - %02dx%02d - An Orchard of Trees
Do I need to do add extra %'s?

Also the default is coming like this S01E01 not 01x01?
I don't use windows, but I thought that perhaps the % might have been causing an issue here... and i read that you can escape the % by using a double %. I guess it doesn't work.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Season & episode numbers in filenames? MondayTuesday SageTV Beta Test Software 8 05-09-2011 06:57 PM
Season/Episode Numbers with 7.1.3 Narflex SageTV Beta Test Software 11 03-11-2011 10:45 PM
Upgraded and Lost Season/Episode Numbers ranger Batch Metadata Tools 4 03-10-2011 07:29 AM
How do I get the episode/season numbers? to show? (S02E03) pastorkjl Batch Metadata Tools 4 12-11-2010 01:53 PM
add Season and Episode numbers LoopyWolf SageTV Customizations 2 09-12-2009 01:41 PM


All times are GMT -6. The time now is 09:26 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.