Kodi Community Forum
Release TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Release TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library (/showthread.php?tid=173799)



RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - codenamedelta - 2014-11-11

Rob,

Looks good, however the BS4 module did not install automatically, generating an error stating that the module was not loaded when looking at the logs. I manually installed and everything seems good in my quick testing.

I appreciate your work with this addon.


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - capfuturo - 2014-11-11

Hi codenamedelta,

What OS are you running this on?


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - codenamedelta - 2014-11-11

Windows 7


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - iorifly - 2014-11-11

Rob, thank you, and when I installed access tv shows, theme touches put display enters play as if it were a song ... ie not tocandoa is music in the background ....

System: OSX YOSEMITE
Helix Beta 2
  1080XF MB3



Do not know if I was objective, but I am saying that when access tv shows, and access the show starts playing as if it were a song and bottom ....


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - robwebset - 2014-11-11

(2014-11-11, 00:58)codenamedelta Wrote: Rob,

Looks good, however the BS4 module did not install automatically, generating an error stating that the module was not loaded when looking at the logs. I manually installed and everything seems good in my quick testing.

I appreciate your work with this addon.

How did you install it:

1) Extract the zip file over the existing addon
2) Use the GUI to install Addon from Zip

If you used option 2 then it should get automatically installed for you (did it OK on my Windows Machine)

Thanks

Rob

(2014-11-11, 02:43)iorifly Wrote: Rob, thank you, and when I installed access tv shows, theme touches put display enters play as if it were a song ... ie not tocandoa is music in the background ....

System: OSX YOSEMITE
Helix Beta 2
  1080XF MB3

Do not know if I was objective, but I am saying that when access tv shows, and access the show starts playing as if it were a song and bottom ....

I'm afraid I don't follow what you are trying to describe with this one?


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - akya - 2014-11-11

(2014-11-10, 18:07)rob_webset Wrote: As Helix is now in Beta, I thought I'd take a quick look. I have only given it a quick test, but you can give the following a go if you like, if you try it, please post back to say how you got on:

https://robwebset.googlecode.com/svn-history/r513/releases/script.tvtunes/script.tvtunes-4.5.0.zip

Thanks

Rob

Thanks. Working in latest Beta Smile


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - iorifly - 2014-11-11

rob_webset,


I will record a video today, I think it is easier for you to understand.

   Thanks for your patience

Video

https://www.youtube.com/watch?v=5_cKnw700L4


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - robwebset - 2014-11-11

(2014-11-11, 17:34)iorifly Wrote: rob_webset,


I will record a video today, I think it is easier for you to understand.

   Thanks for your patience

Video

https://www.youtube.com/watch?v=5_cKnw700L4

Looks very strange! - Does this happen on Gotham as well for you?

Please can you generate a debug log (just one instance of the problem) with TvTunes logging enabled:

http://kodi.wiki/view/Add-on:TvTunes#Debugging

Please keep the operations direct, and only do it once, makes it easier to check.

Rob


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - iorifly - 2014-11-11

http://pastebin.com/fjMaXCz8


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - robwebset - 2014-11-11

(2014-11-11, 21:23)iorifly Wrote: http://pastebin.com/fjMaXCz8

There is no TvTunes logging enabled in that log, but you do have other errors:

Code:
17:11:53 T:4731830272   ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://SERVIDORNAS/Musicas/Jorge%20%26%20Mateus/Jorge%20%26%20Mateus%20-%20A%20Hora%20%c3%a9%20Agora%20-%202012'
                                            unix_err:'d' error : 'Permission denied'
17:11:53 T:4731830272   ERROR: GetDirectory - Error getting smb://SERVIDORNAS/Musicas/Jorge & Mateus/Jorge & Mateus - A Hora é Agora - 2012/
17:11:59 T:140735160083200   ERROR: RunScript called for invalid add-on id 'script.grab.fanart'. Not a script.

So there may be other problems with your system.

Rob


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - iorifly - 2014-11-11

New log, Now logging tvtunes enabled

http://pastebin.com/VaBtGnLp


Rob,
   I enabled logging in tvtunes


What would that be given?

Code:
17:14:30 T:4647964672   DEBUG: CPythonInvoker(33, /Users/renatobarbosa/Library/Application Support/Kodi/addons/script.tvtunes/default.py): start processing
17:14:30 T:4646039552   DEBUG: Thread BackgroundLoader 4646039552 terminating
17:14:30 T:4647964672  NOTICE: -->Python Interpreter Initialized<--
17:14:30 T:4647964672   DEBUG: CPythonInvoker(33, /Users/renatobarbosa/Library/Application Support/Kodi/addons/script.tvtunes/default.py): the source file to load is "/Users/renatobarbosa/Library/Application Support/Kodi/addons/script.tvtunes/default.py"
17:14:30 T:4647964672   DEBUG: CPythonInvoker(33, /Users/renatobarbosa/Library/Application Support/Kodi/addons/script.tvtunes/default.py): setting the Python path to /Users/renatobarbosa/Library/Application Support/Kodi/addons/script.tvtunes:/Users/renatobarbosa/Library/Application Support/Kodi/addons/script.module.beautifulsoup4/lib:/Users/renatobarbosa/Library/Application Support/Kodi/addons/script.module.requests/lib:/Users/renatobarbosa/Library/Application Support/Kodi/addons/script.module.simplejson/lib:/Applications/Kodi.app/Contents/Libraries:/Applications/Kodi.app/Contents/Libraries/lib/python26.zip:/Applications/Kodi.app/Contents/Libraries/lib/python2.6:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/plat-darwin:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/plat-mac:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/lib-tk:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/lib-old:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/lib-dynload:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/site-packages:/Applications/Kodi.app/Contents/Libraries/lib/python2.6/site-packages/PIL
17:14:30 T:4647964672   DEBUG: CPythonInvoker(33, /Users/renatobarbosa/Library/Application Support/Kodi/addons/script.tvtunes/default.py): entering source directory /Users/renatobarbosa/Library/Application Support/Kodi/addons/script.tvtunes
17:14:30 T:4647964672   DEBUG: CPythonInvoker(33, /Users/renatobarbosa/Library/Application Support/Kodi/addons/script.tvtunes/default.py): instantiating addon using automatically obtained id of "script.tvtunes" dependent on version 2.1.0 of the xbmc.python api
17:14:31 T:140735160083200   DEBUG: OnKey: down (0xf081) pressed, action is Down
17:14:32 T:140735160083200   DEBUG: OnKey: up (0xf080) pressed, action is Up
17:14:32 T:4690808832   DEBUG: AddOnLog: ARGUS TV client: GetServiceEvents
17:14:32 T:4690808832   DEBUG: AddOnLog: ARGUS TV client: URL: http://10.1.0.3:49943/ArgusTV/Core/GetServiceEvents/23af7add-dc29-482b-8772-e6e7e9eeed84
17:14:32 T:4690808832   DEBUG: CurlFile::Open(0x118978270) http://10.1.0.3:49943/ArgusTV/Core/GetServiceEvents/23af7add-dc29-482b-8772-e6e7e9eeed84
17:14:32 T:140735160083200   DEBUG: OnKey: up (0xf080) pressed, action is Up
17:14:34 T:4799860736   DEBUG: Previous line repeats 1 times.
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: ->GetDriveSpace
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: GetRecordingDisksInfo
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: URL: http://10.1.0.3:49943/ArgusTV/Control/GetRecordingDisksInfo
17:14:34 T:4799860736   DEBUG: CurlFile::Open(0x11df6f880) http://10.1.0.3:49943/ArgusTV/Control/GetRecordingDisksInfo
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: GetDriveSpace, 207662752 used kiloBytes of 312466428 total kiloBytes.
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: GetNumChannels()
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: URL: http://10.1.0.3:49943/ArgusTV/Scheduler/Channels/Television
17:14:34 T:4799860736   DEBUG: CurlFile::Open(0x1215ca570) http://10.1.0.3:49943/ArgusTV/Scheduler/Channels/Television
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: URL: http://10.1.0.3:49943/ArgusTV/Scheduler/Channels/Radio
17:14:34 T:4799860736   DEBUG: CurlFile::Open(0x11fb21d50) http://10.1.0.3:49943/ArgusTV/Scheduler/Channels/Radio
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: GetNumTimers()
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: GetUpcomingRecordings
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: URL: http://10.1.0.3:49943/ArgusTV/Control/UpcomingRecordings/7?includeActive=true
17:14:34 T:4799860736   DEBUG: CurlFile::Open(0x11df6f880) http://10.1.0.3:49943/ArgusTV/Control/UpcomingRecordings/7?includeActive=true
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: GetNumRecordings()
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: GetRecordingGroupByTitle
17:14:34 T:4799860736   DEBUG: AddOnLog: ARGUS TV client: URL: http://10.1.0.3:49943/ArgusTV/Control/RecordingGroups/Television/GroupByProgramTitle
17:14:34 T:4799860736   DEBUG: CurlFile::Open(0x118978270) http://10.1.0.3:49943/ArgusTV/Control/RecordingGroups/Television/GroupByProgramTitle
17:14:34 T:140735160083200   DEBUG: OnKey: enter (0xf065) pressed, action is Select
17:14:34 T:140735160083200   DEBUG: CGUIMediaWindow::GetDirectory (videodb://tvshows/titles/5/)
17:14:34 T:140735160083200   DEBUG:   ParentPath = [videodb://tvshows/titles/]
17:14:34 T:4734300160   DEBUG: RunQuery took 7 ms for 5 items query: SELECT * FROM seasonview  WHERE seasonview.idShow = 5
17:14:34 T:4734300160   DEBUG: RunQuery took 1 ms for 0 items query: select * from movieview join movielinktvshow on movielinktvshow.idMovie=movieview.idMovie WHERE movielinktvshow.idShow = 5
17:14:34 T:140735160083200   DEBUG: WindowVideoNav::GetDirectory
17:14:34 T:4772167680  NOTICE: Thread BackgroundLoader start, auto delete: false
17:14:34 T:4772167680   DEBUG: Thread BackgroundLoader 4772167680 terminating
17:14:34 T:4772167680  NOTICE: Thread BackgroundLoader start, auto delete: false
17:14:34 T:4772167680   DEBUG: Thread BackgroundLoader 4772167680 terminating
17:14:34 T:4647964672   DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
17:14:34 T:4647964672   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
17:14:34 T:4647964672   DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
17:14:34 T:4647964672   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
17:14:34 T:140735160083200   DEBUG: Loading settings for smb://SERVIDORNAS/Seriados/The Walking Dead/theme.mp3
17:14:34 T:140735160083200   DEBUG: CPlayerCoreFactory::GetPlayers(smb://SERVIDORNAS/Seriados/The Walking Dead/theme.mp3)
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
17:14:34 T:140735160083200   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
17:14:34 T:140735160083200   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
17:14:34 T:140735160083200   DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (3)
17:14:34 T:140735160083200   DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
17:14:34 T:140735160083200   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: PAPlayer (3)
17:14:34 T:140735160083200   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
17:14:34 T:140735160083200   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
17:14:34 T:140735160083200   DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
17:14:34 T:140735160083200   DEBUG: CSMBFile::Open - opened Seriados/The Walking Dead/theme.mp3, fd=10002
17:14:34 T:140735160083200   DEBUG: Open - probing detected format [mp3]
17:14:34 T:140735160083200   DEBUG: Open - setting usetoc to 0 for accurate VBR MP3 seek
17:14:34 T:140735160083200   DEBUG: Open - avformat_find_stream_info starting
17:14:34 T:140735160083200   DEBUG: Open - av_find_stream_info finished
17:14:34 T:140735160083200    INFO: ffmpeg[7FFF75396300]: Input #0, mp3, from 'smb://SERVIDORNAS/Seriados/The Walking Dead/theme.mp3':
17:14:34 T:140735160083200    INFO: ffmpeg[7FFF75396300]:   Metadata:
17:14:34 T:140735160083200    INFO: ffmpeg[7FFF75396300]:     TYER            : 2012-01-03T20:57:48-05:00
17:14:34 T:140735160083200    INFO: ffmpeg[7FFF75396300]:   Duration: 00:00:37.38, start: 0.025057, bitrate: 128 kb/s
17:14:34 T:140735160083200    INFO: ffmpeg[7FFF75396300]:     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
17:14:34 T:140735160083200    INFO: ffmpeg[7FFF75396300]:     Metadata:
17:14:34 T:140735160083200    INFO: ffmpeg[7FFF75396300]:       encoder         : LAME3.97
17:14:34 T:140735160083200   DEBUG: CDVDDemuxFFmpeg::AddStream(0, ...) -> 0
17:14:34 T:140735160083200   DEBUG: FactoryCodec - Audio: passthrough - Opening
17:14:34 T:140735160083200   DEBUG: FactoryCodec - Audio: passthrough - Failed
17:14:34 T:140735160083200   DEBUG: FactoryCodec - Audio: FFmpeg - Opening
17:14:34 T:140735160083200   DEBUG: FactoryCodec - Audio: FFmpeg - Opened
17:14:34 T:140735160083200   DEBUG: CSMBFile::Open - opened Seriados/The Walking Dead/theme.mp3, fd=10001
17:14:34 T:140735160083200   DEBUG: CSMBFile::Close closing fd 10001
17:14:34 T:140735160083200   DEBUG: ffmpeg[7FFF75396300]: [mp3] Could not update timestamps for skipped samples.
17:14:34 T:140735160083200   DEBUG: SeekTime - seek ended up on time 0
17:14:34 T:140735160083200   DEBUG: Previous line repeats 1 times.
17:14:34 T:140735160083200    INFO: AudioDecoder: File is queued
17:14:34 T:140735160083200   DEBUG: AudioDecoder::GetReplayGain - Final Replaygain applied: 1.000000, Track/Album Gain 89.000000, Peak


Really was not activated log tvtunes, forgiveness will post another ..



RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - robwebset - 2014-11-12

iorifly,

It looks like you have a load of different addons installed - "ARGUS TV client" seems to be dumping all sorts of things in the log.

Can I suggest that you disable all other addons - and try just TVTunes on it's own and see what happens - when there are loads of addons running on the system it's impossible to work out what is doing what.

Rob


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - iorifly - 2014-11-12

Yes, I will do. Thank you for your patience.

disabled argus-tv

http://pastebin.com/GSGi01Lw


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - arithine - 2014-11-12

I have the
(2014-11-11, 23:08)iorifly Wrote: New log, Now logging tvtunes enabled

http://pastebin.com/VaBtGnLp


Rob,
   I enabled logging in tvtunes


What would that be given?

[snip]


Really was not activated log tvtunes, forgiveness will post another ..

I have the same skin, do you know if "automatically switch to visualization upon play" is activated in the skin settings under OSD?

On an unrelated note, for me (using helix beta) the music only starts playing when I bring the selection over a "season" or "episode" and cuts off when it's over ".."(page up)


RE: TvTunes Addon - Retrieve & Play Soundtracks Whilst Browsing Your Library - robwebset - 2014-11-12

(2014-11-12, 05:30)arithine Wrote: I have the same skin, do you know if "automatically switch to visualization upon play" is activated in the skin settings under OSD?

I think you might have it there - as the screen will cheange when TvTunes tries to play a theme - hopefully switching it off will do the trick.

(2014-11-12, 05:30)arithine Wrote: On an unrelated note, for me (using helix beta) the music only starts playing when I bring the selection over a "season" or "episode" and cuts off when it's over ".."(page up)

It may well depend if Helix returns something different when over "..." - once the theme starts playing I think it should continue playing until you actually leave the "directory".