modifying widgets in home category using xml files
#1
Hey Guys!

I am using Estuary Mod V2

In addition to TV Shows and Movies I have the Home Menu Items: Cartoons, Concerts and Trash Movies

right now I have to manually add all the widgets, choose the playlist etc etc which is a lot of work and annoying.

Where can I find the configuration files for the home menu items so I can configure them easily with notepad++.

Also I found the in-pogress movies, recent movies etc playlists and I modified them to only show movies, not concerts and trash movies

But I can't find in progress tv shows anywhere :-\ problem is that in progress tv shows also shows me cartoons and I don't want that

where can I find the file to modify it?
Reply
#2
did you look in playlist
Reply
#3
of course.. that's the first folder I looked! that's where I modified the other playlist and then realized in progress tv shows is not there
Reply
#4
well yo need to add it to playlist  as InProgress tv shows comes from database

inprogress_tvshows.xsp and change home.xml 6100 to inprogress_tvshows.xsp
xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
    <name>In-progress tvshows</name>
    <match>all</match>
    <rule field="inprogress" operator="true" />

    <order direction="descending">lastplayed</order>
</smartplaylist>
Reply
#5
thx Smile I'll give it a try Smile
Reply
#6
@the_other_guy 
Would you happen to know how to increase the length of a widget header?
One of the headings on a new widget I've created is getting cut-off.
Had a hunt around to find where the header width is set, but not been able to locate it.
Reply
#7
(2022-02-21, 02:08)the_other_guy Wrote: change home.xml 6100 to inprogress_tvshows.xsp

I have the home.xml open but what do you mean exactly by that?
Reply
#8
@Dumyat 
Is that not "category label , in "includes_home.xml "
Reply
#9
(2022-02-21, 16:00)querschnitt Wrote:
(2022-02-21, 02:08)the_other_guy Wrote: change home.xml 6100 to inprogress_tvshows.xsp

I have the home.xml open but what do you mean exactly by that?
He was talking about this section: 

https://github.com/xbmc/xbmc/blob/master...#L127-L134

In Line 133 you will see the "6100" which is the "listID".
Reply
#10
(2022-02-21, 21:05)ontap Wrote: @Dumyat 
Is that not "category label , in "includes_home.xml "
Great stuff!
Oh flipping ekk, I was hunting around for nearly an hour one day last week.  Blush
I didn't notice the includes was for content of the 'CategoryLabel' 
A quick search of CategoryLabel just now and found where I could increase width straight away.
@the_other_guy  Problem solved now!
Think I need to book a trip to Spec Savers!  Wink
Cheers
Reply
#11
@DaVu  thx for the help! But I don't have anything like that in my home.xml 

I also searched the whole home.xml for value="6100" and nothing was found
Reply
#12
(2022-02-21, 21:33)DaVu Wrote:
(2022-02-21, 16:00)querschnitt Wrote:
(2022-02-21, 02:08)the_other_guy Wrote: change home.xml 6100 to inprogress_tvshows.xsp

I have the home.xml open but what do you mean exactly by that?
He was talking about this section: 

https://github.com/xbmc/xbmc/blob/master...#L127-L134

In Line 133 you will see the "6100" which is the "listID".

home.xml
xml:

    <include content="WidgetListPoster" condition="Library.HasContent(tvshows)">
                            <param name="content_path" value="videodb://inprogresstvshows"/>
                            <param name="sortby" value="lastplayed"/>
                            <param name="sortorder" value="descending"/>
                            <param name="widget_header" value="$LOCALIZE[626]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="6100"/>
                        </include>
Reply
#13
finally found it.. I guess.. but it's not 6100 for me it's 6200

but I guess this is it? 

Code:
<include content="WidgetListPoster" condition="Library.HasContent(tvshows) + !Skin.HasSetting(hide_inprogresstvshows)">
                            <param name="content_path" value="videodb://inprogresstvshows"/>
                            <param name="sortby" value="lastplayed"/>
                            <param name="sortorder" value="descending"/>
                            <param name="widget_header" value="$LOCALIZE[626]"/>
                            <param name="widget_header_focus" value="$INFO[Container(6200).ListItem.Title, | ]$INFO[Container(6200).ListItem.Year, (,)]"/>
                            <param name="widget_target" value="videos"/>
                            <param name="list_id" value="6200"/>
                        </include>
Reply
#14
Huh
Reply
#15
I don't think the others realised you were running the Estuary Mod V2 thus the id's they gave were based on stock Estuary as it comes with Kodi, so it looks like the Mod change the id but yes that should be at as it points at videodb://inprogresstvshows
Reply

Logout Mark Read Team Forum Stats Members Help
modifying widgets in home category using xml files0