• 1
  • 121
  • 122
  • 123(current)
  • 124
  • 125
  • 155
Release script.extendedinfo
@phil65

Is there a way to set up all library videos and shows to launch extendedinfo first by default? Thanks Cool

@sualfred

For some reason I thought you didn't approve of this addon that's why I didn't refer to it by name on your thread, good to know better Laugh Cool
Reply
(2016-10-19, 02:11)alipendier Wrote: @phil65

Is there a way to set up all library videos and shows to launch extendedinfo first by default? Thanks Cool

No, not possible in a sane manner.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
(2016-10-19, 02:16)phil65 Wrote: No, not possible in a sane manner.
Uh oh... Do you think I should remove this option?
Reply
(2016-10-19, 04:44)mikeSiLVO Wrote:
(2016-10-19, 02:16)phil65 Wrote: No, not possible in a sane manner.
Uh oh... Do you think I should remove this option?

No! Smile So how do you make it possible? Cool
Reply
(2016-10-19, 04:44)mikeSiLVO Wrote:
(2016-10-19, 02:16)phil65 Wrote: No, not possible in a sane manner.
Uh oh... Do you think I should remove this option?

Well, you wont break anything, but I would not guarantee that this works for all cases. For a repo skin it would probably be forbidden, but otherwise I do not have real objections (but please optional with default to off so that people know what happens)
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
(2016-10-19, 05:30)phil65 Wrote: Well, you wont break anything, but I would not guarantee that this works for all cases. For a repo skin it would probably be forbidden, but otherwise I do not have real objections (but please optional with default to off so that people know what happens)
I have it default set to off and people activate it anyway with no idea what it does Tongue... Thinking about adding a warning popup or something.
Image

I also hide all options that don't work with it enabled to mitigate user "error" Wink
Image

In the future if you prefer I remove the option just let me know, I never use it myself. I added it way back when you added it in your Nox fork which is why it broke somewhat recently when openinfodialog was deprecated.
Reply
Hi,

How do I clear all downloaded properties in Window (home).Property(name)?
In my skin I run the command:
PHP Code:
<onload>RunScript(script.extendedinfo,info=artistdetails,artistname='ARTIST1',silent=False)</onload
script.extendedinfo gets the property for ARTIST1 and places them in the Window(home).Property(name)
When later in my skin I run the command:
PHP Code:
<onload>RunScript(script.extendedinfo,info=artistdetails,artistname='ARTIST2',silent=False)</onload
script.extendedinfo gets the property for ARTIST2 and places them in the Window(home).Property(name)
If is lack some properties for ARTIST2 script.extendedinfo leaves property ARTIST1.
I have mixed properties ARTIST1 and ARTIST2.
I want to clear all property ARTIST1 before downloading properties for ARTIST2.

Thank you for your help.
Reply
@phil65 i've looked through all the process options, but can't find the right one's for the trailers, artwork and fanart lists so i guess they are only part of the extended info dialog. Would you be interested into exposing those to so I can load them as plugin content, like similarmovies etc in the regular info dialog?
Reply
Just wondering if it would be possible to add a change/feature to the script...

When you're looking up an actor's info and it displays their filmography, the first ones it displays are those that are in your library with the "PLAY" button. Then it displays the movies you don't have but the button remains "PLAY". It would be nice if you could check if the video plug-in "Specto-..,. Fork" (or Pheonix) is installed on the user's system and change the button label to "GET" and call Specto with a search command on the movie title.

This I think would be a VERY COOL feature to have.

Thanks,
-Claude.
Reply
@phil65 thanks for the great work - script.extendedinfo is great.

The command:
PHP Code:
<onload>RunScript(script.extendedinfo,info=artistdetails,artistname='$INFO[ListItem.Artist]',silent=False)</onload
also searches albums at the local library by album name.

I found the problem (small error) when the library has more albums with the same name (Greatest Hits, The Hits, The Best ....) for various artists, script.extendedinfo searches for the first album in the database and mixed albums from various artists.
For example we've got 1000 albums, 100 has the same name. if we start to search, it will find position with this name album but not for artist that we want.

I think that, JSON command should search for albums by artist name and album name.

Can you fix it, please?
Reply
After youtube-dl updated to 2016.10.26, I get an error from the extended info script

Code:
No module named downloader.external

Do I have to ask for a solution here or at the Youtube-dl thread?

Edit: I already tried reverting back to Youtube-dl 2016.6.27 and then the error is gone
Reply
@Phill can you check Krypton version for music info..(latest git)
Is this code need some modification and add some rows
https://github.com/phil65/script.extende...oDB.py#L43
when I change...remove....album.set_artwork({
Mine thumbs,spine,cdart & thumbback
start to show
ListItem.Property(cdart)
ListItem.Property(thumb).....

Cant use RunScript(script.extendedinfo,info=mostlovedtracks)...some error
Code:
19:26:59 T:2760   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: set_art() takes exactly 3 arguments (2 given)
                                            Traceback (most recent call last):
                                              File "C:\Users\*****\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 134, in <module>
                                                Main()
                                              File "C:\Users\*****\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 31, in __init__
                                                listitems = process.start_info_actions(info, self.params)
                                              File "C:\Users\*****\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\process.py", line 47, in start_info_actions
                                                return AudioDB.get_most_loved_tracks(params["artistname"])
                                              File "C:\Users\*****\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\TheAudioDB.py", line 175, in get_most_loved_tracks
                                                return handle_tracks(results)
                                              File "C:\Users\****\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\TheAudioDB.py", line 80, in handle_tracks
                                                track.set_art({'thumb': "http://i.ytimg.com/vi/%s/0.jpg" % youtube_id})
                                            TypeError: set_art() takes exactly 3 arguments (2 given)
                                            -->End of Python script error report<--
And how the hell I start this ?
RunScript(script.extendedinfo,info=topartists)
XBoxMediaCenter (Kodi Matrix ) 19.3 , AndroidBox -Matrix Skin AeonMQ6
Reply
crash should be fixed on git.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
@phil65, please check this error, I think need fix too, using Krypton last nightlie, with more recent version in your git. Fix mentioned in previous post work great, thanks. Module Kodi65 is update too.

Code:
8:30:26 T:13004   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.extendedinfo/?info=artistevents&&artistname=Van Morrison
18:30:33 T:7376   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named LastFM
                                            Traceback (most recent call last):
                                              File "C:\Program Files (x86)\Kodi\addons\script.extendedinfo\plugin.py", line 134, in <module>
                                                Main()
                                              File "C:\Program Files (x86)\Kodi\addons\script.extendedinfo\plugin.py", line 31, in __init__
                                                listitems = process.start_info_actions(info, self.params)
                                              File "C:\Program Files (x86)\Kodi\addons\script.extendedinfo\resources\lib\process.py", line 213, in start_info_actions
                                                return local_db.get_similar_artists(params.get("artist_mbid"))
                                              File "C:\Program Files (x86)\Kodi\addons\script.module.kodi65\lib\kodi65\localdb.py", line 49, in get_similar_artists
                                                import LastFM
                                            ImportError: No module named LastFM
                                            -->End of Python script error report<--
18:30:33 T:13004   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.extendedinfo/?info=similarartistsinlibrary&&artistname=Van Morrison
18:30:35 T:13004   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.extendedinfo/?info=youtubesearch&&id=Van Morrison
MediaBrazil forum Website - Youtube Channel
MQ9-1.6.0.29 - 09.15.2023 - Aeon MQ Skin Team
MarcosQui Website Donate and support us.
Reply
@Wanilton, I get the very same errors.

Using
Code:
youtubesearchvideos
instead of youtubesearch solved the Youtube errors for me.
Reply
  • 1
  • 121
  • 122
  • 123(current)
  • 124
  • 125
  • 155

Logout Mark Read Team Forum Stats Members Help
script.extendedinfo29