I plan to develop music player for Windows Phone 8.1 and I'd like to read the playlists created through Xbox Music player or through PC app. The playlist files are stored in hidden folder Playlists in Music folder but those files empty and contain special tab 'References' when looking on their properties that contains names of songs included in playlist.
I have not found any source of information how to read this type of file.
Picture showing references tab in the Properties window
The file has no extension and 0 bytes.
How do I access the data shown on the references tab in my .NET application?
Related
I am gonna build Xamarin.Forms app which will read music information like the artist's name and song's name from local music file.
Is there any way to do that?
Actually I need to get local music files like iTunes.
Here is a link for the Xamarin Media Manager to play music and videos using Xamarin.Forms
https://github.com/martijn00/XamarinMediaManager
You can combine this with a local file reader and away you go.
Where and how should files be saved and accessed, e.g. Images downloaded by my application and then visible from my app.
Scenario:
I give my app URLs to images placed online on random places. The app downloads them and saves them "somewhere". Saved images are used as news article images in my app. Files should be accessible in the Photos app.
Save your data to ApplicationData.LocalFolder, it is intended for exactly this. But your data will not be visible outside your app. If you want to make some photos accessible in the Photos app, you need to save them to the Windows.Storage.KnownFolders.PicturesLibrary folder.
I am new to WinRT and I was planning on developing a WinRT app for a simple media player that would play audio/video, create playlist and have media library.
As I was thinking I would make a playlist class and serialize it when a playlist is saved. This playlist class would be holding path to the audio/video files that could be anywhere in the hard disk. Similarly for library I would store files info and path in the database for future access in the database. But as it turned out I can only access other files on system using pickers (except for few files).
But as we know that there is library and playlist features in the winrt music app in win8, there must be a legal and efficient way to do so.
I am facing the following issue while performing the save operation on a windows 8.1 phone
a. Let us assume there is a a file named test1.doc is downloaded to a default location in the sdcard. SDCARD - Testfolder
b. We try to edit/open the file using the office 365 present in the phone and try to save it. It does not save it in the same location i.e. TestFolder.
c. It prompts the user to save in the file in the default folder present in phone for eg in the above case since it is a .doc it saves in Documents folder.
Based on the file extension, it will try to save them in the respective default location i.e. mp3 will be saved under music, .jpg or png will be in picture, .mp4 under videos and .doc,.xls,.txt, ppt under documents.
Pl. refer to the below link
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn639127.aspx
d. And during save it also modifies the file name by appending (1) to the file. User is also given the option to modify the file name before saving.
Where on the tab and desktop it is allowing us to do the save on the same location.
I would like to know if it is a know limitation on the windows phone or any thing needs to be done to make the file save in the same location. Any input on this will be of great help.
That is the platform norm (I am not calling it as "limitation"). Every app has access to its own IsolatedStorage and media libraries depending on the access requested in manifest.
im trying to create a mp3 player for windows phone 7...how do i create a open file dialog or something that will allow me to access my files on the phone so that i can play them with my app"???
EG:
say i have a folder in my sd card...how do i browse to that folder so that i can imports the songs from that folder into a playlist in my app...
There are no standard open file dialogs for WP7. (some choosers excepted.)
If you want to do this you'll have to create the dialog yourself. You can get the details of the songs saved into the Music&Video hub via the MediaLibrary object. (Add a reference to Microsoft.Xna.Framework.dll to use this from Silverlight.)
You'll then have access to lists (collections) of Albums, artists, playlists, songs, etc.
If you want to play tracks you've save in IsolatedStorage you can access these directly yourself.