•   
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 9
  •   
Solved Chapter Selector Window
#61
Based on the messages about code being ready for testing; Any chance this will be included in a near-future upcoming release like Helix?
Reply
#62
Not for v14 Helix, but hopefully v15.
Reply
#63
Hm ironic_monkey's implementation is interesting, but my 5 year old iMac stutters while extracting thumbnails if software decoding (tested on master+relevant commits from his repo).
Changing the job priority to LOW_PAUSABLE is not an option, as these jobs are paused on playback. If thumbnails extraction is disabled it looks quite ugly in the bookmarks window though (also, if there's some bookmark with a thumbnail...).

I don't know how the GUI technically works, so let me use the word "tabs" :-). I'd add a specific "Chapters" tab to the bookmarks window - that way one can disable thumbnail extraction and get a proper list that doesn't expect a thumbnail (this seems perfect: http://nsa34.casimages.com/img/2014/04/1...123417.png). Ideally it'd show thumbnails if they exist for all chapters or a simple list.

Just my opinion - as I said I don't really know how to do that.
Reply
#64
+1,embedded chapter.

@vidarak Thank you for the information of Post: #1.

@turhan.aydin Thank you. https://code.google.com/p/xbmc-chapters/
Your script does not work with xbmc version of the past few years.
But your source code was very useful.

I changed this source only a little.
I'm using the scene selector, such as Blu-ray pop-up menu in the music video.
Until Chapter Selector Window is built officially, I will continue to temporarily use it.

watch gallery
Reply
#65
So, it seems you got this plugin working after your modifications...would you mind sharing your work?
Image

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
Reply
#66
(2014-12-07, 14:41)999unreal Wrote: +1,embedded chapter.

@vidarak Thank you for the information of Post: #1.

@turhan.aydin Thank you. https://code.google.com/p/xbmc-chapters/
Your script does not work with xbmc version of the past few years.
But your source code was very useful.

I changed this source only a little.
I'm using the scene selector, such as Blu-ray pop-up menu in the music video.
Until Chapter Selector Window is built officially, I will continue to temporarily use it.

Please share your work!
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#67
@mad-max
@nickr
Uploaded.

The name of this add-on is Chapters.
However, the functionality is scene selector.
Because, there is no function of the embedded chapter.

1.Execution method:
You need to create a trigger to run this add-on.
The most simple way, modify the keyboard.xml or Creating a keyboard.xml to /userdata/keymaps/
:example below (If you want to assign to numpadzero)
PHP Code:
<keymap>
 <global> 
   <
keyboard
     <
numpadzero>RunScript("script.chapters")</numpadzero
   </
keyboard
 </global>
</
keymap
2.Chapter file:
Chapter files must be located in the same directory as the video media files.
:example below (video media file name: Alice in Wonderland.mkv)
--------------------------------------------
Alice in Wonderland.chapter.xml (Recommend)
Alice in Wonderland.mkv.chapter.xml
chapter.xml
Alice in Wonderland.chapter.txt
Alice in Wonderland.mkv.chapter.txt
chapter.txt
--------------------------------------------
3.How to use:
  1. Play the video media file.
  2. Run this add-on.
  3. If a valid chapter file exists, chapter window opens.
  4. In the chapter window you can perform the following three actions.
    (1)Select a scene.(Up,Down,Select:Up arrow,Down arrow,enter key)
    (2)Close chapter window.(Back,Previous menu:BackSpace,Esc key)
    (3)View mode select.(Left,Right:Left arrow,Right arrow key)
4.Limitation,Notice:
  1. xml file (You can use: Title1,Title2(option),Thumbnail(option)) (Recommend)
    You should use the xml editor.
    For example, xml editor is following sentence can be entered directly,
    but notepad must be input by converting the escape character.
    xml editor: LOVE & PEACE <2014>
    notepad : LOVE &amp; PEACE &lt;2014&gt;
  2. txt file (You can only use: Title1)
    When you save the file, be stored in always "UTF-8".
  3. Kodi(xbmc) version. Works FRODO, Gotham, Helix rc3.
    FRODO: No problem to run. But Error "CLocalizeStrings :: ClearBlock" is output to the log file.
  4. If it does not work, please correct yourself.
Sample chapter file:http://www.mediafire.com/download/6owj40..._files.zip
Add-on: - Deleted. Get New Version.
Reply
#68
Thanks for sharing...will test this later *thumbsup*
Image

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
Reply
#69
(2014-12-09, 22:13)mad-max Wrote: Thanks for sharing...will test this later *thumbsup*
ditto.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#70
Tested on HELIX RC!
Works like a charm...

THANKS!
Image

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
Reply
#71
Oh my GOD. Where or how can I try this?

EDIT: Oh sorry, I see it.
Reply
#72
Described 4 posts above yours
Image

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
Reply
#73
Nice work! Good instructions. Will definitely try this.

Edit: Works perfectly on local drive! It does not work on SMB sources though.
Reply
#74
@999unreal: by modifying default.py and chapterparser.py I got it working also from SMB shares for .txt chapter/scene files :-)

In default.py:
import xbmcvfs

Replace "os.path.exists" with "xbmcvfs.exists"


In chaptersparser.py:
import xbmcvfs

In the processTxtFile function, replace "chapretfile = file(filename.decode('utf-8')).readlines()" with "chapretfile = xbmcvfs.File(filename.decode('utf-8')).read().splitlines()"
In the processXmlFile function, replace "chapretfile = xml.dom.minidom.parse( filename.decode('utf-8') )" with "chapretfile = xml.dom.minidom.parse( xbmcvfs.File(filename.decode('utf-8')) )"
Reply
#75
Thank you, @vidarak
I confirmed it.

Modify only @vidarak pointed out.
changelog: Support SMB shares
Addon updated to 2.0.1. download. - Deleted. Get New Version.
Reply
  •   
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 9
  •   
 
Thread Rating:
  • 3 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
Chapter Selector Window53