Posts: 1,088
Joined: Nov 2012
Reputation:
51
A couple things to try:
1. Can you edit the file again, uncomment the Auction Hunters line and change the "&" to "&" and see if that works?
2. Could you add the episode to a smart playlist using the standard xbmc process and see what the result is?
If it is still '&' there, then the issue wont be with how LazyTV constructs the playlist, it would be with how it is read from the other end.
Posts: 1,088
Joined: Nov 2012
Reputation:
51
Should be a simple fix. Let me have a look.
Posts: 1,088
Joined: Nov 2012
Reputation:
51
My mistake. Drop the semi-colon in where appropriate.
Then add the same line above the "if showname:" line (make sure it aligns with "if showname:"), and change showname to filename.
filename= filename.replace('"', '"').replace("'","'").replace('<',"<").replace('>',">").replace('&',"&")
That ought to do it.
Posts: 30
Joined: Mar 2013
Reputation:
0
Great Addon!
I've got a question though. When I start LazyTV I have it set up to prompt a smart playlist suggestion, but when it loads it only includes unwatched episodes. Is it possible to include watched episodes as well? I like having the option of limiting to unwatched, but sometimes I like to rewatch episodes as well without having to go back and toggle the watch status. Sorry if I over looked a setting, I've been messing around with it for a little bit now and my have overlooked a feature.
thanks again
Posts: 1
Joined: Dec 2014
Reputation:
0
I installed the LazyTV addon and setup a smart playlist with a few tv shows. But for some reason it will only play 3 random episodes before closing out. I feel like I have the settings setup correct but it doesn't seem to work past 3. Whether I let them play or skip forward it just cancels out after the 3rd.
I am running it on the newest version of OpenELEC.
Posts: 1,088
Joined: Nov 2012
Reputation:
51
Are you just running the smart playlist itself? Or are you running the LazyTV random player?
The number of episodes played by the random player is determined by the "Number of shows in playlist" item in the addons settings.
The smart playlist that is created, and that can be used elsewhere outside of LazyTV, should have one entry for each TV show with unwatched episodes.
Note, if the very last episode for the TV Show has been watched, LazyTV doesnt load an episode into the smart playlist.
Posts: 126
Joined: Jan 2012
Reputation:
3
Is it possible to have LazyTV update the smart playlist it creates on a schedule? Does it only happen when you start xbmc and when you force it to?
Posts: 1,088
Joined: Nov 2012
Reputation:
51
The playlist is updated when the watched status of a show is changed on the database.
Posts: 151
Joined: Nov 2008
Reputation:
2
So is there a way to hack this to show watched episodes?
What I really want that smart playlists cant seem to do, is an equal balance of tv shows. For instance I want the same chance to watch a south park as a silicon valley even though there are 20x more south park episodes.
But a smart playlist cant do this because it ignores episode limits when combining playlists.
So this seems like a decent solution except that it only looks at unwatched episodes.
Posts: 339
Joined: Nov 2010
Reputation:
1
FANTASTIC addon! Exactly what I needed, thanks man!