@
jason
I run PseudoTV on a Raspberry Pi running raspbmc.
While this seems to run fine in overall I observed some weird glitches.
1) Playlist Generation
When generating playlists (e.g. userdata/addon_data/script.pseudotv/cache/channel_1.m3u)
sometimes the last character of the file name seems to "get lost", e.g. a file name extensions like ".mkv" becomes ".mk",
same goes for ".mp4" and others.
Here's an excerpt from a wrong .m3u file:
Quote:#EXTM3U
#EXTINF:6229,Pitch Black////After crash-landing on a seemingly lifeless planet, pilot Carolyn Fry and the remaining passengers -- including murderer Riddick
and policeman William J. Johns -- encounter an army of creatures whose only weakness is light. As night approaches and the aliens emerge, the passengers must
rely on Riddick's powerful night vision to lead them through the darkness
smb://x.x.x.x/movielib1/Horror/Pitch Black (2000).mk
#EXTINF:5205,Cube////The claustrophobic debut of Canadian director Vincenzo Natali takes seven strangers out of their daily lives and places them mysteriousl
y in a deadly cube where they all agree they must find their way out. A mix of thriller and psychodrama and a small budget film that gained cult status
smb://x.x.x.x/movielib1/Horror/Cube (1997).mk
And here's a log message trying to play such a wrongly named file:
Quote:16:33:44 T:3035656928 DEBUG: CPlayerCoreFactory::GetPlayers(smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mk)
16:33:44 T:3035656928 NOTICE: COMXPlayer: Opening: smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mk
16:33:44 T:2646914064 DEBUG: CSmbFile::Open - opened movielib1/Horror/Ghost Ship (2002).mk, fd=-1
16:33:44 T:2646914064 INFO: FileSmb->Open: Unable to open file : 'smb://x.x.x.x/movielib1/Horror/Ghost%20Ship%20(2002).mk'
16:33:44 T:2646914064 ERROR: COMXPlayer::OpenInputStream - error opening [smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mk]
16:33:44 T:3035656928 ERROR: Playlist Player: skipping unplayable item: 6, path [smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mk]
Some facts:
- the files have proper names/extensions on the NAS (e.g. .mkv and _not_ .mk)
- all movies are properly scraped in the library and play perfectly when selected from the library
- library is stored in a mysql db
- the issue described does not always happen, when I force a channel reset, they m3u files may end up with proper file names, but yet not always
- I have a channel setup with 6 movie genres, even when resetting all channels, some may get proper file names, some don't. Also, it happens to add a given film with a truncated extension to one m3u file, and adding the very same film with proper file name to another m3u file
- So far I did multiple reset runs, but I couldn't observe any rule, it just seems to happen at random
I tried to figure if there was a scanning error during m3u build, below is a log excerpt.
To me it seems like the files are properly found, but somehow get truncated when writing the m3u file.
Though I didn't find any log entry that would pinpoint this somehow.
Quote:15:12:58 T:2873095184 DEBUG: script.pseudotv-MKVParser: Duration is 5077
15:12:58 T:2873095184 DEBUG: script.pseudotv-ChannelList: runActions 2 on channel 1
15:12:58 T:2873095184 DEBUG: script.pseudotv-VideoParser: getVideoLength smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mkv
15:12:58 T:2873095184 DEBUG: script.pseudotv-MKVParser: determineLength smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mkv
15:12:58 T:2873095184 DEBUG: script.pseudotv-FileAccess: trying to open smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mkv
15:12:58 T:2873095184 DEBUG: script.pseudotv-SMBManager: openFile smb://x.x.x.x/movielib1/Horror/Ghost Ship (2002).mkv
15:12:58 T:2873095184 DEBUG: script.pseudotv-SMBManager: base: x.x.x.x/movielib1/Horror/Ghost Ship (2002).mkv
15:12:58 T:2873095184 DEBUG: script.pseudotv-SMBManager: host: x.x.x.x
15:12:58 T:2873095184 DEBUG: script.pseudotv-SMBManager: File dir: movielib1
15:12:58 T:2873095184 DEBUG: script.pseudotv-SMBManager: File path: /Horror/Ghost Ship (2002).mkv
2) Broken EPG
This issue is not related to 1)
I added 6 movie genre channels (1 to 6), then added 6 "bumber" channels (991 - 996), which I set to "do not play".
Then I configured interleaving as "channel 1 with 991, channel 2 with 992, etc).
So far, the m3u files where correctly written out, interleaving the movies with the bumbers as espected.
The playback also works properly as expected.
However when trying to bring up the EPG, it shows distorted. I should have done a screenshot of this, but
to describe it:
The EPG shows six rows, but no description / channel name, and neither the names of the movies to be playing.
I cannot use the "left/right/up/down" buttons to navigate through the EPG (as there's nothing displayed so nothing to navigate to).
Yet, when closing the EPG, it seems like the TV overlay window somehow loses it's focus, because it wouldn't react
on the channel up/channel down command.
When pressing STOP, playback stops, but the TV overlay would never close, so a blank screen stays there, and the
actual XBMC menu wouldn't show up. Also the usual "pseudoTV shutdown / save" dialog is not seen.
There's no way to exit back out to XBMC so all I can do is restarting XBMC alltogether.
The same happens if I just popup the EPG and close it right away, without trying to navigate within the EPG.
Now, if I go and remove channels 991-996 and disable the interleaving, the EPG builds up properly and
can be navigated properly as expected. Also quitting pseudoTV works properly.
Any ideas on this?
If you need more details, I'll gladly provide it to you.
Cheers,
mdpg