pause,vol and catagory items work and reading from json
This commit is contained in:
@@ -38,4 +38,16 @@ public class Catagory
|
||||
{
|
||||
this.items.AddRange(items);
|
||||
}
|
||||
|
||||
public int contains(string path)
|
||||
{
|
||||
int tmp = 0;
|
||||
foreach (Item item in items)
|
||||
{
|
||||
if(item.getLink().Contains(path))
|
||||
break;
|
||||
tmp++;
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
}
|
6
ShadowStream/Modules/Obejeckte/Favorites.cs
Normal file
6
ShadowStream/Modules/Obejeckte/Favorites.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace ShadowStream.Obejeckte;
|
||||
|
||||
public class Favorites
|
||||
{
|
||||
public List<object> SharedRefs = new List<object>();
|
||||
}
|
@@ -33,7 +33,7 @@ public class Item
|
||||
{
|
||||
Content = isFoto ? "Show" : "Play",
|
||||
HorizontalAlignment = HorizontalAlignment.Center,
|
||||
Tag = path // Store path or any identifier
|
||||
Tag = path+"/"+type // Store path or any identifier
|
||||
};
|
||||
|
||||
if (clickHandler != null)
|
||||
|
Reference in New Issue
Block a user