-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collection and folder #275
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -406,7 +406,7 @@ | |||||
<posx>60</posx> | ||||||
<posy>248</posy> | ||||||
<control type="image"> | ||||||
<visible>!String.IsEqual(Window.Property(media),show)</visible> | ||||||
<visible>!String.IsEqual(Window.Property(media),show) + !String.IsEqual(Window.Property(media),movie)</visible> | ||||||
<posx>0</posx> | ||||||
<posy>0</posy> | ||||||
<width>630</width> | ||||||
|
@@ -416,7 +416,7 @@ | |||||
<aspectratio>scale</aspectratio> | ||||||
</control> | ||||||
<control type="image"> | ||||||
<visible>String.IsEqual(Window.Property(media),show)</visible> | ||||||
<visible>String.IsEqual(Window.Property(media),show) | String.IsEqual(Window.Property(media),movie)</visible> | ||||||
<posx>0</posx> | ||||||
<posy>0</posy> | ||||||
<width>630</width> | ||||||
|
@@ -763,6 +763,7 @@ | |||||
<onright>210</onright> | ||||||
<ondown>50</ondown> | ||||||
<control type="button" id="311"> | ||||||
<visible>!String.IsEqual(Window.Property(media.itemType),folder)</visible> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
<enable>false</enable> | ||||||
<width max="300">auto</width> | ||||||
<height>65</height> | ||||||
|
@@ -779,6 +780,7 @@ | |||||
<label>[UPPERCASE]$INFO[Window.Property(filter2.display)][/UPPERCASE]</label> | ||||||
</control> | ||||||
<control type="button" id="211"> | ||||||
<visible>!String.IsEqual(Window.Property(media.itemType),folder)</visible> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
<width max="500">auto</width> | ||||||
<height>65</height> | ||||||
<font>font12</font> | ||||||
|
@@ -793,7 +795,7 @@ | |||||
<label>[UPPERCASE]$INFO[Window.Property(filter1.display)][/UPPERCASE]</label> | ||||||
</control> | ||||||
<control type="button" id="310"> | ||||||
<visible>!String.IsEqual(Window.Property(media),show)</visible> | ||||||
<visible>!String.IsEqual(Window.Property(media),show) + !String.IsEqual(Window.Property(media),movie)</visible> | ||||||
<enable>false</enable> | ||||||
<width max="300">auto</width> | ||||||
<height>65</height> | ||||||
|
@@ -810,7 +812,7 @@ | |||||
<label>[UPPERCASE]$INFO[Window.Property(media.type)][/UPPERCASE]</label> | ||||||
</control> | ||||||
<control type="button" id="312"> | ||||||
<visible>String.IsEqual(Window.Property(media),show)</visible> | ||||||
<visible>String.IsEqual(Window.Property(media),show) | String.IsEqual(Window.Property(media),movie)</visible> | ||||||
<width max="300">auto</width> | ||||||
<height>65</height> | ||||||
<font>font12</font> | ||||||
|
@@ -826,6 +828,7 @@ | |||||
<label>[UPPERCASE]$INFO[Window.Property(media.type)][/UPPERCASE]</label> | ||||||
</control> | ||||||
<control type="button" id="210"> | ||||||
<visible>!String.IsEqual(Window.Property(media.itemType),folder)</visible> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
<width max="300">auto</width> | ||||||
<height>65</height> | ||||||
<font>font12</font> | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -30,7 +30,7 @@ | |||||
<posx>60</posx> | ||||||
<posy>248</posy> | ||||||
<control type="image"> | ||||||
<visible>!String.IsEqual(Window.Property(media),show)</visible> | ||||||
<visible>!String.IsEqual(Window.Property(media),show) + !String.IsEqual(Window.Property(media),movie)</visible> | ||||||
<posx>0</posx> | ||||||
<posy>0</posy> | ||||||
<width>630</width> | ||||||
|
@@ -40,7 +40,7 @@ | |||||
<aspectratio>scale</aspectratio> | ||||||
</control> | ||||||
<control type="image"> | ||||||
<visible>String.IsEqual(Window.Property(media),show)</visible> | ||||||
<visible>String.IsEqual(Window.Property(media),show) | String.IsEqual(Window.Property(media),movie)</visible> | ||||||
<posx>0</posx> | ||||||
<posy>0</posy> | ||||||
<width>630</width> | ||||||
|
@@ -715,6 +715,7 @@ | |||||
<onright>210</onright> | ||||||
<ondown>50</ondown> | ||||||
<control type="button" id="311"> | ||||||
<visible>!String.IsEqual(Window.Property(media.itemType),folder)</visible> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
<enable>false</enable> | ||||||
<width max="300">auto</width> | ||||||
<height>65</height> | ||||||
|
@@ -731,6 +732,7 @@ | |||||
<label>[UPPERCASE]$INFO[Window.Property(filter2.display)][/UPPERCASE]</label> | ||||||
</control> | ||||||
<control type="button" id="211"> | ||||||
<visible>!String.IsEqual(Window.Property(media.itemType),folder)</visible> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
<width max="500">auto</width> | ||||||
<height>65</height> | ||||||
<font>font12</font> | ||||||
|
@@ -745,7 +747,7 @@ | |||||
<label>[UPPERCASE]$INFO[Window.Property(filter1.display)][/UPPERCASE]</label> | ||||||
</control> | ||||||
<control type="button" id="310"> | ||||||
<visible>!String.IsEqual(Window.Property(media),show)</visible> | ||||||
<visible>!String.IsEqual(Window.Property(media),show) + !String.IsEqual(Window.Property(media),movie)</visible> | ||||||
<enable>false</enable> | ||||||
<width max="300">auto</width> | ||||||
<height>65</height> | ||||||
|
@@ -762,7 +764,7 @@ | |||||
<label>[UPPERCASE]$INFO[Window.Property(media.type)][/UPPERCASE]</label> | ||||||
</control> | ||||||
<control type="button" id="312"> | ||||||
<visible>String.IsEqual(Window.Property(media),show)</visible> | ||||||
<visible>String.IsEqual(Window.Property(media),show) | String.IsEqual(Window.Property(media),movie)</visible> | ||||||
<width max="300">auto</width> | ||||||
<height>65</height> | ||||||
<font>font12</font> | ||||||
|
@@ -778,6 +780,7 @@ | |||||
<label>[UPPERCASE]$INFO[Window.Property(media.type)][/UPPERCASE]</label> | ||||||
</control> | ||||||
<control type="button" id="210"> | ||||||
<visible>!String.IsEqual(Window.Property(media.itemType),folder)</visible> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
<width max="300">auto</width> | ||||||
<height>65</height> | ||||||
<font>font12</font> | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be simplified as below - it seemed to work fine with the change:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the above, the
section
'skey
andtitle
are no longer set. It's been a long time since I've looked at this code but I think this had to do with entering a directory that was contained within a directory.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what you mean. When you pass
datasource.data
to theLibrarySection
constructor, the key and title are set to the key and title of thedatasource.data
(which is the raw data that initializeddatasource
). I tested it with a directory within a directory and it seemed to work fine (once the other folder reloading fix was added).