Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XMBC Support #39

Open
TobiasBales opened this issue Mar 20, 2013 · 15 comments
Open

XMBC Support #39

TobiasBales opened this issue Mar 20, 2013 · 15 comments

Comments

@TobiasBales
Copy link
Contributor

After using it for a while at work I would like to use a shiva server for all my music/media needs.
For home I think I would like to use XMBC but stream from the shiva server so I can stream via web interface etc too.

Looking into xmbc plugin dev right now - anyone else interested?

Would love to mark this as feature but I am not allowed :/

@ghost
Copy link

ghost commented Mar 24, 2013

Really good idea! All in 👍

@TobiasBales
Copy link
Contributor Author

Working on it, hoping to get something working today or tomorrow

@ghost
Copy link

ghost commented Mar 24, 2013

Would be very nice. But got some problems with indexing (UTF-8/UNICODE). Have to look at these problems first to get a nice database.

@TobiasBales
Copy link
Contributor Author

Got the xbmc plugin to a semi-working state
You can see the artists/albums/tracks from locahost:9002 and play the music
The only issue right now is that it seems to download the mp3 and start playing and no real streaming.
Not sure if it an issue with the way the plugin works right now or the way shiva streams the file.
Will look into it though.

If anyone cares:
https://github.com/TobiasRaeder/xbmc-shiva-plugin/

P.S. gonna look into your issue now

@tooxie
Copy link
Owner

tooxie commented Mar 25, 2013

Shiva doesn't stream, just provides a URI to the actual file, it's up to the fileserver to stream it. If the file is served through Shiva, it will be sent for download, but I've been thinking of removing that functionality, Shiva should not serve files.

@ghost
Copy link

ghost commented Mar 25, 2013

Maybe a good idea to give a customizable prefix to every file in DB. So you can local index the music but shiva give out a ftp/http/etc. Address

@TobiasBales
Copy link
Contributor Author

Removing the serving would break the shiva-client too, right?
At least of not running on the same machine and "knowing" the path.

What are the reasons for thinking about removing the functionality?

@tooxie
Copy link
Owner

tooxie commented Mar 25, 2013

Sorry, what I meant was removing the view that serves the file. Namely: https://github.com/tooxie/shiva-server/blob/master/shiva/views.py#L7 Not the URI to the file from the track resource.

That would mean that you will need another server to run Shiva, even for testing purposes.

@ghost
Copy link

ghost commented Mar 26, 2013

This plugin is very cool. Its fast as hell even if shiva-server is not running local. Relly great! I would like to see listing by genre and album.

Actually I can't play any file - seems to be because of using shiva-server not locally.

@TobiasBales
Copy link
Contributor Author

It does work it just takes a good while (thats why I guessed it was downloading the file and playing once done)
but even for that it is too slow.
Gonna look into it.
And agreed - by Album/Genre would be great and should not be such a problem really

@ghost
Copy link

ghost commented Apr 26, 2013

Hey Tobias,

something new on that?

Greets
Cappa

@TobiasBales
Copy link
Contributor Author

Not yet, been kinda busy with work and just didn't find the time to look further into it.
Gonna see if I can make some time this weekend.

@ghost
Copy link

ghost commented Apr 26, 2013

There's no need to hurry. Only wants to know if you work on that further or if I have to learn a new programming language :-)

@TobiasBales
Copy link
Contributor Author

Hehe :)
Well python is worth learning I guess but yes I do still have an interest in continuing with the plugin

@ghost
Copy link

ghost commented Apr 26, 2013

Well python is nice.

But I cross so many languages that I more confused for every script and programming language I work on.

Also never learned programming :-) [irony]Should I start with Java?[/irony]

We all gets older.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants