Posts: 1,265
Joined: Oct 2009
Reputation:
29
takoi
Team-Kodi Member
Posts: 1,265
2014-08-18, 17:38
(This post was last modified: 2014-08-18, 17:39 by takoi.)
Ok, 1.4 subtitles have been merged as ListItem.setSubtitles (PR5192). For Gotham the above hack can still be used, but note that it's not forward compatible.
Doing the same for audio will afaik require some major changes first. See PR2562. After that, it should be feasible to add
Posts: 1,088
Joined: Nov 2012
Reputation:
51
This thread is never dead.
Also I should add a request for a pickleable ListItem. ironic_monkey says that this would require the implentation of __reduce__ on the C class.
Posts: 1,265
Joined: Oct 2009
Reputation:
29
takoi
Team-Kodi Member
Posts: 1,265
Don't think so. Youtube doesn't use external audio, just separate tracks for audio/video in the same dash stream. Afaik dash support needs to be added to ffmpeg.
Posts: 2,293
Joined: Aug 2005
Reputation:
202
ruuk
Team-Kodi Member
Posts: 2,293
I believe that DASH has separate video and audio streams with a manifest that tells the player what streams and chunks are available. I think I have heard this is already being worked on for ffmpeg, but is not in any released version at this time. In any case, this is something more complex than the ability to play a separate audio stream.
Posts: 1,506
Joined: Nov 2013
for pickling:
http://paste.ubuntu.com/9728931/
shows the basics of how to make a C python class pickle-able. as this is from internal code i cannot currently distribute, i have had to strip it somewhat. the important stuff:
1) have __reduce__ in the class. this needs to use Py_BuildValue as done there.
2) have a constructor for the class, which can reconstruct the object based on the serialized info in __reduce__ (same order of arguments is important).
Posts: 10
Joined: Jan 2015
Reputation:
0
BePov
Junior Member
Posts: 10
Hi,
I know I already created a thread a while ago about this, but this place seems to be more suited to ask for this feature; Sorry for the duplicate.
I would love to see something to be able to force refresh on a specific media file (either music, movie, tv episode or even tvshows directories)
How about adding a built-in 'Refresh' function ? It would take 1 parameter : a path to a file or a directory, and would just call the same method as the 'Refresh' button in movie information. This could also complete the existing 'UpdateLibrary' which currently only accepts directories.
I'm asking for this because there seems to be no way of reproducing the same behavior as in the FileBrowser / VideoNavigator from an addon : When displaying the 'Info' window for a given media, the 'Refresh' button is greyed out, even if all the other informations are correct (using XBMC.Action('Info') as a context-menu action). Using the same on an unparsed file shows an empty information window, while it actually refreshes the file's data in library mode.
I think other addons/people faced this issue too, I found a few other topics mentioning this on the forum. If I had to name just one, addons such as 'missing movie scanner' would greatly benefit from this kind of this function.
Thanks !
BePov