Refresh trailer location
continuous-integration/drone/push Build is passing Details

pull/39/head
Corentin LEMAIRE 2 years ago
parent 7e5d9f57ce
commit 25a3f6963f

Binary file not shown.

@ -11,7 +11,9 @@ Linaris is a music and playlist management application, as well as a source of i
## Trailer
[![Trailer](Images/logo.png)](https://codefirst.iut.uca.fr/git/corentin.lemaire/Linaris_MAUI_SAE_201/src/branch/master/Images/trailer.mp4)
<iframe allowfullscreen src='https://opencast.dsi.uca.fr/paella/ui/embed.html?id=41e87f72-a922-44a3-ad2c-1432540bace0' width='640' height='480' frameborder='0' scrolling='no' marginwidth='0' marginheight='0' allowfullscreen='true' webkitallowfullscreen='true' mozallowfullscreen='true' ></iframe>
[![Trailer](Images/logo.png)](https://opencast.dsi.uca.fr/paella/ui/watch.html?id=41e87f72-a922-44a3-ad2c-1432540bace0)
## Documentation

@ -1,12 +1,13 @@
using CommunityToolkit.Maui.Core.Primitives;
using Model.Serialization;
using Model.Stub;
using System.Diagnostics;
namespace Linaris;
public partial class App : Application
{
public Manager Manager { get; set; } = new(new LinqXmlSerialization(FileSystem.Current.AppDataDirectory));
public Manager Manager { get; set; }
public FooterPage FooterPage { get; set; }
@ -14,10 +15,17 @@ public partial class App : Application
public MediaElementState MediaState { get; set; } = MediaElementState.Paused;
public App()
{
InitializeComponent();
try
{
InitializeComponent();
}
catch (Exception ex)
{
Debug.WriteLine(ex);
}
Manager = new Manager(new LinqXmlSerialization(FileSystem.AppDataDirectory));
FooterPage = new FooterPage();
MainPage = new AppShell();
}

@ -2,6 +2,7 @@
using System.Xml.Linq;
using System.Collections.ObjectModel;
using Model.Stub;
using Microsoft.Maui.Devices;
namespace Model.Serialization
{
@ -359,14 +360,14 @@ namespace Model.Serialization
CustomsFile2.Add(new XElement("Customs", custom));
XmlWriterSettings settings = new XmlWriterSettings();
settings.Indent = true;
using (TextWriter tw = File.CreateText(XMLFILECUSTOMS))
XmlWriterSettings settings = new()
{
using (XmlWriter writer = XmlWriter.Create(tw, settings))
Indent = true
};
CustomsFile2.Save(writer);
}
using TextWriter tw = File.CreateText(XMLFILECUSTOMS);
using XmlWriter writer = XmlWriter.Create(tw, settings);
CustomsFile2.Save(writer);
}
XDocument CustomsFile = XDocument.Load(XMLFILECUSTOMS);

Loading…
Cancel
Save