2018-04-16, 01:29
2018-04-16, 16:21
@manfeed ,
very clever there, have just made it a part of my skin. Have added a comment acknowledging your code and have added a skin setting so that my users can turn on/off as required.
Many thanks for your contribution to the Kodi codebase.
Wyrm (AppTV)
very clever there, have just made it a part of my skin. Have added a comment acknowledging your code and have added a skin setting so that my users can turn on/off as required.
Many thanks for your contribution to the Kodi codebase.
Wyrm (AppTV)
2018-04-16, 23:09
(2018-04-15, 16:11)tehax Wrote: Great to see that there is now an alternative to TvTunes. Nevertheless it won't work for me in v18 with EstuaryModV2.@tehax
I just had a look... You only have to put the three xml files from the first post and also edit Custom_1121_MusicFullscreenEnabler.xml from EstuaryModV2. You have to change line 4 from...
xml:<onload condition="!Window.IsActive(visualisation)">FullScreen</onload>
...to...
xml:<onload condition="!Window.IsActive(visualisation) + !Window.IsActive(videos)">FullScreen</onload>
2018-04-18, 10:30
First post updated... Fixed a bug happening when there was no theme.mp3 in a movie or tvshow folder
2018-04-22, 18:19
Hello manfeed,
i often browse through the libraries while watching tv or series is playing. Is it possible to play only soundtrack when no other movie, tv or music is playing and can you add an option to play soundtrack only in series or movie library?
i often browse through the libraries while watching tv or series is playing. Is it possible to play only soundtrack when no other movie, tv or music is playing and can you add an option to play soundtrack only in series or movie library?
2018-04-22, 21:10
(2018-04-22, 18:19)tehax Wrote: Hello manfeed,Hi tehax, my code is intended to be as a starting point for skinners, and as such it offers the most basic functionality; it is down to them to add options to determine when and when not the soundtracks must play in their skins
i often browse through the libraries while watching tv or series is playing. Is it possible to play only soundtrack when no other movie, tv or music is playing and can you add an option to play soundtrack only in series or movie library?
2018-04-23, 03:15
manfeed,
Just a couple of things about your code. First, <allowoverlay> tag has not been used since Kodi Jarvis, so while it does not cause any issues it is not required. Also, not entirely sure what changes you have made between some of your edits, could you please document the changes in the first post.
Thanks once again
Wyrm (AppTV)
Just a couple of things about your code. First, <allowoverlay> tag has not been used since Kodi Jarvis, so while it does not cause any issues it is not required. Also, not entirely sure what changes you have made between some of your edits, could you please document the changes in the first post.
Thanks once again
Wyrm (AppTV)
2018-04-23, 09:49
@wyrm
Thanks, you're right, I have removed allowoverlay.
I can see your point about the updates in the code, sorry I haven't kept track of them, basically I have been patching the flaws that were appearing while I was using it and updating the first post accordingly. I think that right now the code works as intended, so it is safe to use in every skin as it is; if any additional change must be made in the future, I will clearly explain it, so that everyone can adapt it to their customized code.
Thanks, you're right, I have removed allowoverlay.
I can see your point about the updates in the code, sorry I haven't kept track of them, basically I have been patching the flaws that were appearing while I was using it and updating the first post accordingly. I think that right now the code works as intended, so it is safe to use in every skin as it is; if any additional change must be made in the future, I will clearly explain it, so that everyone can adapt it to their customized code.
2018-04-26, 22:22
First post have been updated with Edit 1 at the bottom to solve an issue happening when using latest Leia nightlies
2018-05-04, 13:20
First post updated to prevent a bug that freezes Kodi when using an addon to select online artworks. See Edit 2 at the bottom...
2018-05-04, 13:43
For info, there is also error in debug log when no theme.mp3 is available :
Code:
08:08:36.477 T:138520024144 DEBUG: CMusicGUIInfo::InitCurrentItem(videodb://movies/theme.mp3)
08:08:36.484 T:138520024144 DEBUG: LoadMusicTag: loading tag information for file: videodb://movies/theme.mp3
08:08:36.492 T:138520024144 DEBUG: file videodb://movies/theme.mp3 could not be opened for tag reading
08:08:36.496 T:138640057424 DEBUG: DoWork - Saving file state for audio item videodb://movies/theme.mp3
08:08:40.905 T:138520024144 DEBUG: LoadMusicTag: loading tag information for file: smb://NAS/Videos/Movies/6 Days (2017)/theme.mp3
08:08:41.251 T:138686514256 DEBUG: CSMBFile::Open - opened smb://NAS/Videos/Movies/6 Days (2017)/theme.mp3, fd=-1
08:08:41.251 T:138686514256 INFO: SMBFile->Open: Unable to open file : 'smb://NAS/Videos/Movies/6%20Days%20(2017)/theme.mp3'
unix_err:'2' error : 'No such file or directory'
08:08:41.255 T:138520024144 DEBUG: CSMBFile::Open - opened smb://NAS/Videos/Movies/6 Days (2017)/theme.mp3, fd=-1
08:08:41.256 T:138686514256 ERROR: Open - failed to open source <smb://NAS/Videos/Movies/6 Days (2017)/theme.mp3>
08:08:41.256 T:138520024144 INFO: SMBFile->Open: Unable to open file : 'smb://NAS/Videos/Movies/6%20Days%20(2017)/theme.mp3'
unix_err:'2' error : 'No such file or directory'
08:08:41.257 T:138520024144 DEBUG: file smb://NAS/Videos/Movies/6 Days (2017)/theme.mp3 could not be opened for tag reading
08:08:41.257 T:138686514256 ERROR: CVideoPlayer::OpenInputStream - error opening [smb://NAS/Videos/Movies/6 Days (2017)/theme.mp3]
2018-05-04, 13:58
Yep, no way AFAIK to check beforehand whether a theme.mp3 file exists or not, so those messages are inevitable for now...
2018-05-20, 17:57
Hi would this work on vid files like TVTunes? I use DL the trailer for my shows in .mp4 format on Youtube and put it in the same folder and it would play
2018-05-20, 23:27
No, it doesn't work in the same way. I think it would be possible to make trailers play automatically after "x" seconds, though. If I'm succesful I'll post it here...