Commit Graph

1196 Commits

Author SHA1 Message Date
Scottie
f439dc3516 Got browsing working on PS3
Got browsing working on the PS3 all the way down to an item - hitting
the item breaks the API which breaks the server, but still, its a start.
Had to only return the single item of metadata being requested and jsut
as importantly, had to report the number of children container objects
have - I'd neglected to set that property which meant it was assuming
all containers had no children.
2013-03-05 00:16:51 +11:00
LukePulverenti
4e4c27dfab Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser.Plugins 2013-03-04 01:17:30 -05:00
LukePulverenti
303a6f7728 update to latest server 2013-03-04 01:17:19 -05:00
ScottRapsey
6a7c4765fd Added well known All Playlists container - 13
Added well known container Playlist and its well know children "All
Playlists" and "Playlists Folder". Both of these are just returning
empty collections for their children, but it means that when WMP
requests well known container 13 "All Playlists", we don't have to
recursively load the entire data model in order to search for it.
Also removed unrequired test code that was setting xml string to a local
variable to assist with debugging.
2013-03-04 16:50:01 +11:00
ScottRapsey
ea901eafd9 First rough cut of BrowseMetadata
A first very rough cut of a BrowseMetadata implementation. Its for
testing, I've no idea if it'll work or not.
2013-03-04 16:03:16 +11:00
ScottRapsey
8eba94e886 Temporary fix to delete assemblies before adding
Added some temprorary code to delete any of the embeded assemblies
(log4net.dll & Platinum.Managed.dll) before attempting to write them to
disk.
This is just to ensure they are definitely replaced while we're trying
to sort out the file not found issues.
2013-03-04 14:49:24 +11:00
ScottRapsey
2feea109c6 Recompiled Platinum.Managed in V90 Release Mode
Recompiled Platinum.Managed on a machine with Visual Studio 2008 on it.
Still compiled in VS2010 but used Platform Toolset V90 (vs2008)
compiler, which means its compiled against .Net 2.0 not 4.0.
Most importantly this compile is definitely in Release Mode, so should
have a dependency on msvcr100.dll and not msvcr100d.dll (the d at the
end is for Debug, and only gets installed on development machines).
2013-03-04 13:50:00 +11:00
ScottRapsey
c93ad13991 Minor refactoring to get http prefixes
very minor refactoring to move the putting together of http prefixes
into a single function.
2013-03-04 13:37:49 +11:00
LukePulverenti
9006086743 updated readme 2013-03-03 12:07:00 -05:00
LukePulverenti
eeef2d7023 update to latest server 2013-03-03 11:56:15 -05:00
LukePulverenti
248a83d0b3 update to latest server 2013-03-02 22:22:24 -05:00
LukePulverenti
830d6238fd server update 2013-03-01 22:57:33 -05:00
LukePulverenti
62b66cc214 update to latest server 2013-03-01 21:50:01 -05:00
LukePulverenti
4b4056bc07 Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser.Plugins 2013-03-01 20:09:57 -05:00
LukePulverenti
f93356cf28 extract assemblies dynamically 2013-03-01 20:09:51 -05:00
Scottie
88a51caf4f Fixed that music genres null reference exeption
Fixed the bug properly this time - the collection is/can be null not the
item.
2013-03-02 09:47:04 +11:00
ScottRapsey
88d37bf665 Fixed null reference Exception
Fixed null reference exception and added a webm video type
2013-03-01 16:15:33 +11:00
ScottRapsey
e3044434cf Added reference to Librarymanager 2013-03-01 16:15:32 +11:00
LukePulverenti
5511675cdf Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser.Plugins 2013-02-28 22:50:37 -05:00
LukePulverenti
431fc137e2 update to latest ui code 2013-02-28 22:50:31 -05:00
ScottRapsey
1f7436b3c3 Hard coded some video options for a test release
Hardcoded video options for .asf and .wmv so that I can do a release for
testing like this.
I would have like to have included one more option, perhaps mp4, but I
couldn't get hold of Tikuf to get advice, no matter, we can incude
better option in the next release.
2013-03-01 12:07:43 +11:00
ScottRapsey
8d7064a578 Added/cleaned up some of the logging
Added some more logging to the startup and shutdown of the upnp server
2013-03-01 12:07:42 +11:00
LukePulverenti
bab1553159 update to latest server 2013-02-28 14:25:44 -05:00
ScottRapsey
fe4bfb7948 Huge code rearrange, plus new api urls
Did a huge rearange of the code, pushed a lot of functionality through
the dlna object and into static helper methods. This is partially in
preperation for requiring different behaviour for different clients
(xbox, ps3, etc) and partially because the code was a mess and really
needed cleaning up.
2013-02-28 17:35:51 +11:00
LukePulverenti
eff43d23b8 updated to use UserManager 2013-02-27 15:36:57 -05:00
LukePulverenti
d16c07e80a Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser.Plugins 2013-02-27 11:54:30 -05:00
LukePulverenti
e34c85eb70 update to latest server 2013-02-27 11:54:18 -05:00
Scottie
b331208d0e Changed Artist and Album to be containers
Changed Artist and Album to be containers instead of Items, having them
as Items was definitely incorrect. Hopefully this will improve behaviour
in Xbox360 Music App and VLC, WPM was fine beforehand.
2013-02-27 08:53:49 +11:00
LukePulverenti
60e92125e5 Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser.Plugins 2013-02-26 12:48:33 -05:00
LukePulverenti
3a45f95ea5 update to latest server 2013-02-26 12:48:25 -05:00
ScottRapsey
1aedec4df7 Got image requests going through the api
Had to pass the actual MB item around instead of just the id because
there are possilby mulitple images available and the api barfs if there
are no images available. This meant a fair bit of refactoring but its
better for it.
Tweaked the  platinum ObjectClass for epsiodes to be
object.item.videoItem.videoBroadcast instead of just
object.item.videoItem - I think this will get removed once I test it on
the Xbox360 and discover it doesn't work as expected.
Added well know 'Music Genre' and 'Video Series' containers and items.
2013-02-26 17:19:19 +11:00
LukePulverenti
201d8872f0 fixed references 2013-02-25 22:52:38 -05:00
LukePulverenti
69c1c5e41a Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser.Plugins
Conflicts:
	MediaBrowser.Plugins.Dlna/packages.config
2013-02-25 22:51:14 -05:00
LukePulverenti
107d403d45 update to latest server code 2013-02-25 22:49:49 -05:00
ScottRapsey
0e43c290a4 Add shortcircuit to GetChildRecursive
Added some short circuit logic to the dlna model's GetChildRecursive
function.
2013-02-26 12:20:04 +11:00
ScottRapsey
f1f66d97bd Added comments about Platinum Properties
I found the didl-lite xsd which has decent descriptions for some of its
elements and attributes. A lot of these map directly to Platinum
Properties so I copied a lot of the descriptions above where the
properties are being utilised. Ideally this information would be in
triple slash comments inside the Platinum Library but alas it is not.
2013-02-26 12:18:49 +11:00
ScottRapsey
b21260b1d5 Cleanup and Music Artist and Music Album support
Cleaned up some commented out code, but didn't get as much cleanup does
as I'd like because I realised I should really implement music properly
before removing the old code that does music.
Implemened the well known Music/All Music, Music/Artist and Music/Genre
folders as well as the sub items for those folders which are
MusicAlbumItem, MusicArtistItem and MusicItem
2013-02-25 17:24:42 +11:00
ScottRapsey
a5df7eb442 Created dlna specific object model
Somehow I've ended up with different line endings than the previous
commit so the diff on Plugin.cs is practically the entire file, but
these changes are too good to throw awy in order to fix that...
Hanselmans recent post is very timely:
http://www.hanselman.com/blog/YoureJustAnotherCarriageReturnLineFeedInTheWall.aspx

Actual changes:
Created a dlna specific object model to wrap the mediabrowser model.
It's only functional for Video and even then really only for the way
video is used on the Xbox360. Music is missing at the moment.
Utilised the new object model when Search and BrowseDirect is called.
Pulled in the MoreLinq nuget package.

The next commit will be a bit of a cleanup, with lots of commented out
code removed and lots of uncalled functions removed as well.
2013-02-25 13:20:58 +11:00
LukePulverenti
4a63ef8623 update to latest nuget packages 2013-02-24 20:28:48 -05:00
LukePulverenti
e79f2482d1 update trailer plugin to latest server changes 2013-02-24 19:41:02 -05:00
LukePulverenti
a5cb6dc22d fixing dlna plugin 2013-02-24 19:23:35 -05:00
LukePulverenti
51dd3c24c0 Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser.Plugins 2013-02-23 02:58:59 -05:00
LukePulverenti
07fbe3949f updating to server changes 2013-02-23 02:58:00 -05:00
Luke
bc0a39d812 Update README.md 2013-02-22 11:33:07 -05:00
LukePulverenti
b971311468 adding core plugins 2013-02-22 01:35:25 -05:00
Luke
6baf15e5f8 Initial commit 2013-02-16 09:10:44 -08:00