Posts: 3,439
Joined: Aug 2012
Reputation:
91
The new version of swmc supports episode count appended to the directory title for series recordings (in hierarchical view). I found a bug with this yesterday: if you delete a recording from inside a series directory, after the recording is deleted, the directory is now empty - this is a little jarring since it looks like you deleted every episode rather than just one. But not to worry, when the episode is deleted the directory now has a new name (since the episode count has changed), so the directory you were in looks empty. When you go up a level, you will see that the series is till there, minus the episode you deleted.
This bug is not fixable in at least this version of xbmc, since the only way to specify the episode count is to put it in the directory title. If you don't like it, you can turn it off by setting this variable to false: IsAppendingEpisodeCount (in config.xml)
fyi, you can also change the format of the episode count with the string:
AppendEpisodeCountFormat
just remember you need the {0}, in the format string (that's where the count will go)
Posts: 349
Joined: Jan 2014
Reputation:
15
Any chance we can get a complete list of Configuration file parameters and what they do? I'd be happy to add that to the Wiki...
Perhaps this feature should be set to false by default and turned on only by those who are aware of this issue and don't mind it??
Posts: 349
Joined: Jan 2014
Reputation:
15
2014-04-30, 04:51
(This post was last modified: 2014-04-30, 04:54 by advocate99.)
How about if you program ServerWMC so that it creates a new folder with the new correct number immediately, but does not delete the old folder for some number of seconds/minutes after the deletion.
In other words, if I am in
TV Show (5)
and I delete an episode, ServerWMC will immediately create a folder called
TV Show (4)
But, it will continue to also have
TV Show (5)
for 15 minutes after I delete the show?
Ideally, TV Show (5) would be hidden, so that it wouldn't show up on the listing, but it'd still exist and contents be provided if XBMC asks for it.
Posts: 349
Joined: Jan 2014
Reputation:
15
This bug will also affect the Recording Now folder if it changes while the user is in it.
Why not program ServerWMC to process requests for folders by trimming the number of episodes and then processing the request as if the feature were turned off.
So, when I request a list of Recorded TV, I'll get:
Modern Family (3)
Revenge (2)
But, when I send a request for Modern Family (3), ServerWMC will just drop the (3), process a request for "Modern Family" as if the feature were turned off, and send the list of shows?
Posts: 3,439
Joined: Aug 2012
Reputation:
91
I don't understand how your last suggestion would solve anything, if I send back the episode without the count it creates a new folder and the current folder is empty - just like it does now.
I like your second suggestion, except I won't create a 2nd directory (not sure it that that's even possible). But I could make it so that the re-tallying of the episode has a fuse after file operations. That would mean that for short intervals the episode count could be wrong, but most of the time it will be correct. I will experiment with it today (although we are in crunch time with my sons robotic's project but luckily the dude has school).
as always, thanks advocate!
Posts: 971
Joined: Dec 2008
Reputation:
44
2014-04-30, 16:33
(This post was last modified: 2014-04-30, 16:34 by Dilligaf.)
What robotics? My sons team just took first place in St Louis, First Robotics world championship. We're in Michigan, I believe they teamed up with a California team sponsored by NASA
If I have been of help, please add to my reputation as a way of saying thanks, it's free.
Posts: 3,439
Joined: Aug 2012
Reputation:
91
It uses the list it already has. It requests the recording list every 5 minutes or so, independent of your navigation inside the list.
Posts: 349
Joined: Jan 2014
Reputation:
15
2014-05-01, 04:02
(This post was last modified: 2014-05-01, 04:02 by advocate99.)
I think it may be time to default this feature off, and ask the XBMC team to add it to the UI...
Posts: 349
Joined: Jan 2014
Reputation:
15
So how did you fix this??