pause,vol and catagory items work and reading from json

This commit is contained in:
Elias Quinn
2025-06-13 14:18:05 +01:00
parent afe5d2f5ff
commit 9534ed3a8a
41 changed files with 467 additions and 167 deletions

View File

@@ -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;
}
}

View File

@@ -0,0 +1,6 @@
namespace ShadowStream.Obejeckte;
public class Favorites
{
public List<object> SharedRefs = new List<object>();
}

View File

@@ -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)